home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_emacs.idb / usr / freeware / share / emacs / 19.34 / lisp / ange-ftp.elc.z / ange-ftp.elc
Emacs Compiled Lisp  |  1998-10-28  |  88.5 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
55% TrID Emacs/XEmacs byte-compiled Lisp (generic) default
44% TrID Summation Document Image Information Load File default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 72 6d 73 40 70 73 69 |piled by| rms@psi|
|00000020| 6c 6f 63 69 6e 2e 67 6e | 75 2e 61 69 2e 6d 69 74 |locin.gn|u.ai.mit|
|00000030| 2e 65 64 75 20 6f 6e 20 | 54 68 75 20 41 75 67 20 |.edu on |Thu Aug |
|00000040| 20 31 20 31 37 3a 34 35 | 3a 33 37 20 31 39 39 36 | 1 17:45|:37 1996|
|00000050| 0a 3b 3b 3b 20 66 72 6f | 6d 20 66 69 6c 65 20 2f |.;;; fro|m file /|
|00000060| 68 6f 6d 65 2f 66 73 66 | 2f 72 6d 73 2f 65 31 39 |home/fsf|/rms/e19|
|00000070| 2f 6c 69 73 70 2f 61 6e | 67 65 2d 66 74 70 2e 65 |/lisp/an|ge-ftp.e|
|00000080| 6c 0a 3b 3b 3b 20 65 6d | 61 63 73 20 76 65 72 73 |l.;;; em|acs vers|
|00000090| 69 6f 6e 20 31 39 2e 33 | 31 2e 39 37 2e 34 2e 0a |ion 19.3|1.97.4..|
|000000a0| 3b 3b 3b 20 62 79 74 65 | 63 6f 6d 70 20 76 65 72 |;;; byte|comp ver|
|000000b0| 73 69 6f 6e 20 46 53 46 | 20 32 2e 31 30 0a 3b 3b |sion FSF| 2.10.;;|
|000000c0| 3b 20 6f 70 74 69 6d 69 | 7a 61 74 69 6f 6e 20 69 |; optimi|zation i|
|000000d0| 73 20 6f 6e 2e 0a 3b 3b | 3b 20 74 68 69 73 20 66 |s on..;;|; this f|
|000000e0| 69 6c 65 20 75 73 65 73 | 20 6f 70 63 6f 64 65 73 |ile uses| opcodes|
|000000f0| 20 77 68 69 63 68 20 64 | 6f 20 6e 6f 74 20 65 78 | which d|o not ex|
|00000100| 69 73 74 20 69 6e 20 45 | 6d 61 63 73 20 31 38 2e |ist in E|macs 18.|
|00000110| 0a 0a 28 69 66 20 28 61 | 6e 64 20 28 62 6f 75 6e |..(if (a|nd (boun|
|00000120| 64 70 20 27 65 6d 61 63 | 73 2d 76 65 72 73 69 6f |dp 'emac|s-versio|
|00000130| 6e 29 0a 09 20 28 6f 72 | 20 28 61 6e 64 20 28 62 |n).. (or| (and (b|
|00000140| 6f 75 6e 64 70 20 27 65 | 70 6f 63 68 3a 3a 76 65 |oundp 'e|poch::ve|
|00000150| 72 73 69 6f 6e 29 20 65 | 70 6f 63 68 3a 3a 76 65 |rsion) e|poch::ve|
|00000160| 72 73 69 6f 6e 29 0a 09 | 20 20 20 20 20 28 73 74 |rsion)..| (st|
|00000170| 72 69 6e 67 2d 6c 65 73 | 73 70 20 65 6d 61 63 73 |ring-les|sp emacs|
|00000180| 2d 76 65 72 73 69 6f 6e | 20 22 31 39 2e 32 39 22 |-version| "19.29"|
|00000190| 29 29 29 0a 20 20 20 20 | 28 65 72 72 6f 72 20 22 |))). |(error "|
|000001a0| 60 61 6e 67 65 2d 66 74 | 70 2e 65 6c 27 20 77 61 |`ange-ft|p.el' wa|
|000001b0| 73 20 63 6f 6d 70 69 6c | 65 64 20 66 6f 72 20 45 |s compil|ed for E|
|000001c0| 6d 61 63 73 20 31 39 2e | 32 39 20 6f 72 20 6c 61 |macs 19.|29 or la|
|000001d0| 74 65 72 22 29 29 0a 0a | 0a 28 72 65 71 75 69 72 |ter"))..|.(requir|
|000001e0| 65 20 28 71 75 6f 74 65 | 20 63 6f 6d 69 6e 74 29 |e (quote| comint)|
|000001f0| 29 0a 23 40 32 38 33 20 | 2a 46 6f 72 6d 61 74 20 |).#@283 |*Format |
|00000200| 6f 66 20 61 20 66 75 6c | 6c 79 20 65 78 70 61 6e |of a ful|ly expan|
|00000210| 64 65 64 20 72 65 6d 6f | 74 65 20 66 69 6c 65 20 |ded remo|te file |
|00000220| 6e 61 6d 65 2e 0a 54 68 | 69 73 20 69 73 20 61 20 |name..Th|is is a |
|00000230| 6c 69 73 74 20 6f 66 20 | 74 68 65 20 66 6f 72 6d |list of |the form|
|00000240| 20 28 52 45 47 45 58 50 | 20 48 4f 53 54 20 55 53 | (REGEXP| HOST US|
|00000250| 45 52 20 4e 41 4d 45 29 | 2c 0a 77 68 65 72 65 20 |ER NAME)|,.where |
|00000260| 52 45 47 45 58 50 20 69 | 73 20 61 20 72 65 67 75 |REGEXP i|s a regu|
|00000270| 6c 61 72 20 65 78 70 72 | 65 73 73 69 6f 6e 20 6d |lar expr|ession m|
|00000280| 61 74 63 68 69 6e 67 0a | 74 68 65 20 66 75 6c 6c |atching.|the full|
|00000290| 20 72 65 6d 6f 74 65 20 | 6e 61 6d 65 2c 20 61 6e | remote |name, an|
|000002a0| 64 20 48 4f 53 54 2c 20 | 55 53 45 52 2c 20 61 6e |d HOST, |USER, an|
|000002b0| 64 20 4e 41 4d 45 20 61 | 72 65 20 74 68 65 20 6e |d NAME a|re the n|
|000002c0| 75 6d 62 65 72 73 20 6f | 66 0a 70 61 72 65 6e 74 |umbers o|f.parent|
|000002d0| 68 65 73 69 7a 65 64 20 | 65 78 70 72 65 73 73 69 |hesized |expressi|
|000002e0| 6f 6e 73 20 69 6e 20 52 | 45 47 45 58 50 20 66 6f |ons in R|EGEXP fo|
|000002f0| 72 20 74 68 65 20 63 6f | 6d 70 6f 6e 65 6e 74 73 |r the co|mponents|
|00000300| 20 28 69 6e 20 74 68 61 | 74 20 6f 72 64 65 72 29 | (in tha|t order)|
|00000310| 2e 1f 0a 28 64 65 66 76 | 61 72 20 61 6e 67 65 2d |...(defv|ar ange-|
|00000320| 66 74 70 2d 6e 61 6d 65 | 2d 66 6f 72 6d 61 74 20 |ftp-name|-format |
|00000330| 28 71 75 6f 74 65 20 28 | 22 5e 2f 5c 5c 28 5c 5c |(quote (|"^/\\(\\|
|00000340| 28 5b 5e 40 2f 3a 5d 2a | 5c 5c 29 40 5c 5c 29 3f |([^@/:]*|\\)@\\)?|
|00000350| 5c 5c 28 5b 5e 40 2f 3a | 5d 2a 5b 5e 40 2f 3a 2e |\\([^@/:|]*[^@/:.|
|00000360| 5d 5c 5c 29 3a 5c 5c 28 | 2e 2a 5c 5c 29 22 20 33 |]\\):\\(|.*\\)" 3|
|00000370| 20 32 20 34 29 29 20 28 | 23 24 20 2e 20 2d 35 30 | 2 4)) (|#$ . -50|
|00000380| 34 29 29 0a 23 40 36 36 | 20 2a 52 65 67 75 6c 61 |4)).#@66| *Regula|
|00000390| 72 20 65 78 70 72 65 73 | 73 69 6f 6e 20 6d 61 74 |r expres|sion mat|
|000003a0| 63 68 69 6e 67 20 74 68 | 65 20 73 74 61 72 74 20 |ching th|e start |
|000003b0| 6f 66 20 61 20 6d 75 6c | 74 69 6c 69 6e 65 20 66 |of a mul|tiline f|
|000003c0| 74 70 20 72 65 70 6c 79 | 2e 1f 0a 28 64 65 66 76 |tp reply|...(defv|
|000003d0| 61 72 20 61 6e 67 65 2d | 66 74 70 2d 6d 75 6c 74 |ar ange-|ftp-mult|
|000003e0| 69 2d 6d 73 67 73 20 22 | 5e 32 32 30 2d 5c 5c 7c |i-msgs "|^220-\\||
|000003f0| 5e 32 33 30 2d 5c 5c 7c | 5e 32 32 36 5c 5c 7c 5e |^230-\\||^226\\|^|
|00000400| 32 35 2e 2d 5c 5c 7c 5e | 32 32 31 2d 5c 5c 7c 5e |25.-\\|^|221-\\|^|
|00000410| 32 30 30 2d 5c 5c 7c 5e | 33 33 31 2d 5c 5c 7c 5e |200-\\|^|331-\\|^|
|00000420| 34 5b 32 35 5d 31 2d 5c | 5c 7c 5e 35 33 30 2d 22 |4[25]1-\|\|^530-"|
|00000430| 20 28 23 24 20 2e 20 2d | 39 30 35 29 29 0a 23 40 | (#$ . -|905)).#@|
|00000440| 35 34 20 2a 52 65 67 75 | 6c 61 72 20 65 78 70 72 |54 *Regu|lar expr|
|00000450| 65 73 73 69 6f 6e 20 6d | 61 74 63 68 69 6e 67 20 |ession m|atching |
|00000460| 66 74 70 20 22 73 75 63 | 63 65 73 73 22 20 6d 65 |ftp "suc|cess" me|
|00000470| 73 73 61 67 65 73 2e 1f | 0a 28 64 65 66 76 61 72 |ssages..|.(defvar|
|00000480| 20 61 6e 67 65 2d 66 74 | 70 2d 67 6f 6f 64 2d 6d | ange-ft|p-good-m|
|00000490| 73 67 73 20 22 5e 32 32 | 30 20 5c 5c 7c 5e 32 33 |sgs "^22|0 \\|^23|
|000004a0| 30 20 5c 5c 7c 5e 32 32 | 36 20 5c 5c 7c 5e 32 35 |0 \\|^22|6 \\|^25|
|000004b0| 2e 20 5c 5c 7c 5e 32 32 | 31 20 5c 5c 7c 5e 32 30 |. \\|^22|1 \\|^20|
|000004c0| 30 20 5c 5c 7c 5e 5b 48 | 68 5d 61 73 68 20 6d 61 |0 \\|^[H|h]ash ma|
|000004d0| 72 6b 22 20 28 23 24 20 | 2e 20 2d 31 30 39 31 29 |rk" (#$ |. -1091)|
|000004e0| 29 0a 23 40 36 34 20 2a | 52 65 67 75 6c 61 72 20 |).#@64 *|Regular |
|000004f0| 65 78 70 72 65 73 73 69 | 6f 6e 20 6d 61 74 63 68 |expressi|on match|
|00000500| 69 6e 67 20 66 74 70 20 | 6d 65 73 73 61 67 65 73 |ing ftp |messages|
|00000510| 20 74 68 61 74 20 63 61 | 6e 20 62 65 20 69 67 6e | that ca|n be ign|
|00000520| 6f 72 65 64 2e 1f 0a 28 | 64 65 66 76 61 72 20 61 |ored...(|defvar a|
|00000530| 6e 67 65 2d 66 74 70 2d | 73 6b 69 70 2d 6d 73 67 |nge-ftp-|skip-msg|
|00000540| 73 20 28 63 6f 6e 63 61 | 74 20 22 5e 32 30 30 20 |s (conca|t "^200 |
|00000550| 5c 5c 28 50 4f 52 54 5c | 5c 7c 50 6f 72 74 5c 5c |\\(PORT\|\|Port\\|
|00000560| 29 20 5c 5c 7c 5e 33 33 | 31 20 5c 5c 7c 5e 31 35 |) \\|^33|1 \\|^15|
|00000570| 30 20 5c 5c 7c 5e 33 35 | 30 20 5c 5c 7c 5e 5b 30 |0 \\|^35|0 \\|^[0|
|00000580| 2d 39 5d 2b 20 62 79 74 | 65 73 20 5c 5c 7c 22 20 |-9]+ byt|es \\|" |
|00000590| 22 5e 43 6f 6e 6e 65 63 | 74 65 64 20 5c 5c 7c 5e |"^Connec|ted \\|^|
|000005a0| 24 5c 5c 7c 5e 52 65 6d | 6f 74 65 20 73 79 73 74 |$\\|^Rem|ote syst|
|000005b0| 65 6d 5c 5c 7c 5e 55 73 | 69 6e 67 5c 5c 7c 5e 20 |em\\|^Us|ing\\|^ |
|000005c0| 5c 5c 7c 50 61 73 73 77 | 6f 72 64 3a 5c 5c 7c 22 |\\|Passw|ord:\\|"|
|000005d0| 20 22 5e 44 61 74 61 20 | 63 6f 6e 6e 65 63 74 69 | "^Data |connecti|
|000005e0| 6f 6e 20 5c 5c 7c 22 20 | 22 5e 6c 6f 63 61 6c 3a |on \\|" |"^local:|
|000005f0| 5c 5c 7c 5e 54 72 79 69 | 6e 67 5c 5c 7c 5e 31 32 |\\|^Tryi|ng\\|^12|
|00000600| 35 20 5c 5c 7c 5e 35 35 | 30 2d 5c 5c 7c 5e 32 32 |5 \\|^55|0-\\|^22|
|00000610| 31 20 2e 2a 6f 6f 64 62 | 79 65 22 29 20 28 23 24 |1 .*oodb|ye") (#$|
|00000620| 20 2e 20 2d 31 32 35 35 | 29 29 0a 23 40 31 34 32 | . -1255|)).#@142|
|00000630| 20 2a 52 65 67 75 6c 61 | 72 20 65 78 70 72 65 73 | *Regula|r expres|
|00000640| 73 69 6f 6e 20 6d 61 74 | 63 68 69 6e 67 20 66 74 |sion mat|ching ft|
|00000650| 70 20 6d 65 73 73 61 67 | 65 73 20 74 68 61 74 20 |p messag|es that |
|00000660| 69 6e 64 69 63 61 74 65 | 20 73 65 72 69 6f 75 73 |indicate| serious|
|00000670| 20 65 72 72 6f 72 73 2e | 0a 54 68 65 73 65 20 6d | errors.|.These m|
|00000680| 65 61 6e 20 74 68 61 74 | 20 74 68 65 20 46 54 50 |ean that| the FTP|
|00000690| 20 70 72 6f 63 65 73 73 | 20 73 68 6f 75 6c 64 20 | process| should |
|000006a0| 28 6f 72 20 61 6c 72 65 | 61 64 79 20 68 61 73 29 |(or alre|ady has)|
|000006b0| 20 62 65 65 6e 20 6b 69 | 6c 6c 65 64 2e 1f 0a 28 | been ki|lled...(|
|000006c0| 64 65 66 76 61 72 20 61 | 6e 67 65 2d 66 74 70 2d |defvar a|nge-ftp-|
|000006d0| 66 61 74 61 6c 2d 6d 73 | 67 73 20 28 63 6f 6e 63 |fatal-ms|gs (conc|
|000006e0| 61 74 20 22 5e 66 74 70 | 3a 20 5c 5c 7c 5e 4e 6f |at "^ftp|: \\|^No|
|000006f0| 74 20 63 6f 6e 6e 65 63 | 74 65 64 5c 5c 7c 5e 35 |t connec|ted\\|^5|
|00000700| 33 30 20 5c 5c 7c 5e 34 | 5b 32 35 5d 31 20 5c 5c |30 \\|^4|[25]1 \\|
|00000710| 7c 72 63 6d 64 3a 20 5c | 5c 7c 22 20 22 5e 4e 6f ||rcmd: \|\|" "^No|
|00000720| 20 63 6f 6e 74 72 6f 6c | 20 63 6f 6e 6e 65 63 74 | control| connect|
|00000730| 69 6f 6e 5c 5c 7c 75 6e | 6b 6e 6f 77 6e 20 68 6f |ion\\|un|known ho|
|00000740| 73 74 5c 5c 7c 5e 6c 6f | 73 74 20 63 6f 6e 6e 65 |st\\|^lo|st conne|
|00000750| 63 74 69 6f 6e 22 29 20 | 28 23 24 20 2e 20 2d 31 |ction") |(#$ . -1|
|00000760| 35 38 35 29 29 0a 23 40 | 37 33 20 2a 52 65 67 75 |585)).#@|73 *Regu|
|00000770| 6c 61 72 20 65 78 70 72 | 65 73 73 69 6f 6e 20 6d |lar expr|ession m|
|00000780| 61 74 63 68 69 6e 67 20 | 6c 6f 67 69 6e 20 66 61 |atching |login fa|
|00000790| 69 6c 75 72 65 20 6d 65 | 73 73 61 67 65 73 20 66 |ilure me|ssages f|
|000007a0| 72 6f 6d 20 72 6c 6f 67 | 69 6e 2f 74 65 6c 6e 65 |rom rlog|in/telne|
|000007b0| 74 2e 1f 0a 28 64 65 66 | 76 61 72 20 61 6e 67 65 |t...(def|var ange|
|000007c0| 2d 66 74 70 2d 67 61 74 | 65 77 61 79 2d 66 61 74 |-ftp-gat|eway-fat|
|000007d0| 61 6c 2d 6d 73 67 73 20 | 22 4e 6f 20 72 6f 75 74 |al-msgs |"No rout|
|000007e0| 65 20 74 6f 20 68 6f 73 | 74 5c 5c 7c 43 6f 6e 6e |e to hos|t\\|Conn|
|000007f0| 65 63 74 69 6f 6e 20 63 | 6c 6f 73 65 64 5c 5c 7c |ection c|losed\\||
|00000800| 4e 6f 20 73 75 63 68 20 | 68 6f 73 74 5c 5c 7c 4c |No such |host\\|L|
|00000810| 6f 67 69 6e 20 69 6e 63 | 6f 72 72 65 63 74 22 20 |ogin inc|orrect" |
|00000820| 28 23 24 20 2e 20 2d 31 | 38 39 39 29 29 0a 23 40 |(#$ . -1|899)).#@|
|00000830| 37 38 20 2a 52 65 67 75 | 6c 61 72 20 65 78 70 72 |78 *Regu|lar expr|
|00000840| 65 73 73 69 6f 6e 20 75 | 73 65 64 20 74 6f 20 64 |ession u|sed to d|
|00000850| 65 74 65 72 6d 69 6e 65 | 20 74 68 65 20 6e 75 6d |etermine| the num|
|00000860| 62 65 72 20 6f 66 20 62 | 79 74 65 73 20 69 6e 20 |ber of b|ytes in |
|00000870| 61 20 46 54 50 20 74 72 | 61 6e 73 66 65 72 2e 1f |a FTP tr|ansfer..|
|00000880| 0a 28 64 65 66 76 61 72 | 20 61 6e 67 65 2d 66 74 |.(defvar| ange-ft|
|00000890| 70 2d 78 66 65 72 2d 73 | 69 7a 65 2d 6d 73 67 73 |p-xfer-s|ize-msgs|
|000008a0| 20 22 5e 31 35 30 20 2e | 2a 20 63 6f 6e 6e 65 63 | "^150 .|* connec|
|000008b0| 74 69 6f 6e 20 66 6f 72 | 20 2e 2a 20 28 5c 5c 28 |tion for| .* (\\(|
|000008c0| 5b 30 2d 39 5d 2b 5c 5c | 29 20 62 79 74 65 73 29 |[0-9]+\\|) bytes)|
|000008d0| 22 20 28 23 24 20 2e 20 | 2d 32 30 39 39 29 29 0a |" (#$ . |-2099)).|
|000008e0| 23 40 34 33 20 2a 54 65 | 6d 70 6c 61 74 65 20 75 |#@43 *Te|mplate u|
|000008f0| 73 65 64 20 74 6f 20 63 | 72 65 61 74 65 20 74 65 |sed to c|reate te|
|00000900| 6d 70 6f 72 61 72 79 20 | 66 69 6c 65 73 2e 1f 0a |mporary |files...|
|00000910| 28 64 65 66 76 61 72 20 | 61 6e 67 65 2d 66 74 70 |(defvar |ange-ftp|
|00000920| 2d 74 6d 70 2d 6e 61 6d | 65 2d 74 65 6d 70 6c 61 |-tmp-nam|e-templa|
|00000930| 74 65 20 22 2f 74 6d 70 | 2f 61 6e 67 65 2d 66 74 |te "/tmp|/ange-ft|
|00000940| 70 22 20 28 23 24 20 2e | 20 2d 32 32 37 37 29 29 |p" (#$ .| -2277))|
|00000950| 0a 23 40 33 31 31 20 2a | 54 65 6d 70 6c 61 74 65 |.#@311 *|Template|
|00000960| 20 75 73 65 64 20 74 6f | 20 63 72 65 61 74 65 20 | used to| create |
|00000970| 74 65 6d 70 6f 72 61 72 | 79 20 66 69 6c 65 73 20 |temporar|y files |
|00000980| 77 68 65 6e 20 66 74 70 | 2d 69 6e 67 20 74 68 72 |when ftp|-ing thr|
|00000990| 6f 75 67 68 20 61 20 67 | 61 74 65 77 61 79 2e 0a |ough a g|ateway..|
|000009a0| 46 69 6c 65 73 20 73 74 | 61 72 74 69 6e 67 20 77 |Files st|arting w|
|000009b0| 69 74 68 20 74 68 69 73 | 20 70 72 65 66 69 78 20 |ith this| prefix |
|000009c0| 6e 65 65 64 20 74 6f 20 | 62 65 20 61 63 63 65 73 |need to |be acces|
|000009d0| 73 69 62 6c 65 20 66 72 | 6f 6d 20 42 4f 54 48 20 |sible fr|om BOTH |
|000009e0| 74 68 65 20 6c 6f 63 61 | 6c 0a 6d 61 63 68 69 6e |the loca|l.machin|
|000009f0| 65 20 61 6e 64 20 74 68 | 65 20 67 61 74 65 77 61 |e and th|e gatewa|
|00000a00| 79 20 6d 61 63 68 69 6e | 65 2c 20 61 6e 64 20 6e |y machin|e, and n|
|00000a10| 65 65 64 20 74 6f 20 68 | 61 76 65 20 74 68 65 20 |eed to h|ave the |
|00000a20| 53 41 4d 45 20 6e 61 6d | 65 20 6f 6e 20 62 6f 74 |SAME nam|e on bot|
|00000a30| 68 0a 6d 61 63 68 69 6e | 65 73 2c 20 74 68 61 74 |h.machin|es, that|
|00000a40| 20 69 73 2c 20 2f 74 6d | 70 20 69 73 20 70 72 6f | is, /tm|p is pro|
|00000a50| 62 61 62 6c 79 20 4e 4f | 54 20 77 68 61 74 20 79 |bably NO|T what y|
|00000a60| 6f 75 20 77 61 6e 74 2c | 20 73 69 6e 63 65 20 74 |ou want,| since t|
|00000a70| 68 61 74 20 69 73 20 72 | 61 72 65 6c 79 0a 63 72 |hat is r|arely.cr|
|00000a80| 6f 73 73 2d 6d 6f 75 6e | 74 65 64 2e 1f 0a 28 64 |oss-moun|ted...(d|
|00000a90| 65 66 76 61 72 20 61 6e | 67 65 2d 66 74 70 2d 67 |efvar an|ge-ftp-g|
|00000aa0| 61 74 65 77 61 79 2d 74 | 6d 70 2d 6e 61 6d 65 2d |ateway-t|mp-name-|
|00000ab0| 74 65 6d 70 6c 61 74 65 | 20 22 2f 74 6d 70 2f 61 |template| "/tmp/a|
|00000ac0| 6e 67 65 2d 66 74 70 22 | 20 28 23 24 20 2e 20 2d |nge-ftp"| (#$ . -|
|00000ad0| 32 33 39 31 29 29 0a 23 | 40 34 39 20 2a 46 69 6c |2391)).#|@49 *Fil|
|00000ae0| 65 20 69 6e 20 2e 6e 65 | 74 72 63 20 66 6f 72 6d |e in .ne|trc form|
|00000af0| 61 74 20 74 6f 20 73 65 | 61 72 63 68 20 66 6f 72 |at to se|arch for|
|00000b00| 20 70 61 73 73 77 6f 72 | 64 73 2e 1f 0a 28 64 65 | passwor|ds...(de|
|00000b10| 66 76 61 72 20 61 6e 67 | 65 2d 66 74 70 2d 6e 65 |fvar ang|e-ftp-ne|
|00000b20| 74 72 63 2d 66 69 6c 65 | 6e 61 6d 65 20 22 7e 2f |trc-file|name "~/|
|00000b30| 2e 6e 65 74 72 63 22 20 | 28 23 24 20 2e 20 2d 32 |.netrc" |(#$ . -2|
|00000b40| 37 38 30 29 29 0a 23 40 | 36 30 20 2a 49 66 20 6e |780)).#@|60 *If n|
|00000b50| 6f 6e 2d 6e 69 6c 20 61 | 76 6f 69 64 20 63 68 65 |on-nil a|void che|
|00000b60| 63 6b 69 6e 67 20 70 65 | 72 6d 69 73 73 69 6f 6e |cking pe|rmission|
|00000b70| 73 20 6f 6e 20 74 68 65 | 20 2e 6e 65 74 72 63 20 |s on the| .netrc |
|00000b80| 66 69 6c 65 2e 1f 0a 28 | 64 65 66 76 61 72 20 61 |file...(|defvar a|
|00000b90| 6e 67 65 2d 66 74 70 2d | 64 69 73 61 62 6c 65 2d |nge-ftp-|disable-|
|00000ba0| 6e 65 74 72 63 2d 73 65 | 63 75 72 69 74 79 2d 63 |netrc-se|curity-c|
|00000bb0| 68 65 63 6b 20 6e 69 6c | 20 28 23 24 20 2e 20 2d |heck nil| (#$ . -|
|00000bc0| 32 38 39 31 29 29 0a 23 | 40 35 31 33 20 2a 55 73 |2891)).#|@513 *Us|
|00000bd0| 65 72 20 6e 61 6d 65 20 | 74 6f 20 75 73 65 20 77 |er name |to use w|
|00000be0| 68 65 6e 20 6e 6f 6e 65 | 20 69 73 20 73 70 65 63 |hen none| is spec|
|00000bf0| 69 66 69 65 64 20 69 6e | 20 61 20 66 69 6c 65 20 |ified in| a file |
|00000c00| 6e 61 6d 65 2e 0a 49 66 | 20 6e 6f 6e 2d 6e 69 6c |name..If| non-nil|
|00000c10| 20 62 75 74 20 6e 6f 74 | 20 61 20 73 74 72 69 6e | but not| a strin|
|00000c20| 67 2c 20 79 6f 75 20 61 | 72 65 20 70 72 6f 6d 70 |g, you a|re promp|
|00000c30| 74 65 64 20 66 6f 72 20 | 74 68 65 20 6e 61 6d 65 |ted for |the name|
|00000c40| 2e 0a 49 66 20 6e 69 6c | 2c 20 74 68 65 20 76 61 |..If nil|, the va|
|00000c50| 6c 75 65 20 6f 66 20 60 | 61 6e 67 65 2d 66 74 70 |lue of `|ange-ftp|
|00000c60| 2d 6e 65 74 72 63 2d 64 | 65 66 61 75 6c 74 2d 75 |-netrc-d|efault-u|
|00000c70| 73 65 72 27 20 69 73 20 | 75 73 65 64 2e 0a 49 66 |ser' is |used..If|
|00000c80| 20 74 68 61 74 20 69 73 | 20 6e 69 6c 20 74 6f 6f | that is| nil too|
|00000c90| 2c 20 74 68 65 6e 20 79 | 6f 75 72 20 6c 6f 67 69 |, then y|our logi|
|00000ca0| 6e 20 6e 61 6d 65 20 69 | 73 20 75 73 65 64 2e 0a |n name i|s used..|
|00000cb0| 0a 4f 6e 63 65 20 61 20 | 63 6f 6e 6e 65 63 74 69 |.Once a |connecti|
|00000cc0| 6f 6e 20 74 6f 20 61 20 | 67 69 76 65 6e 20 68 6f |on to a |given ho|
|00000cd0| 73 74 20 68 61 73 20 62 | 65 65 6e 20 69 6e 69 74 |st has b|een init|
|00000ce0| 69 61 74 65 64 2c 20 74 | 68 65 20 75 73 65 72 20 |iated, t|he user |
|00000cf0| 6e 61 6d 65 0a 61 6e 64 | 20 70 61 73 73 77 6f 72 |name.and| passwor|
|00000d00| 64 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 66 6f |d inform|ation fo|
|00000d10| 72 20 74 68 61 74 20 68 | 6f 73 74 20 61 72 65 20 |r that h|ost are |
|00000d20| 63 61 63 68 65 64 20 61 | 6e 64 20 72 65 2d 75 73 |cached a|nd re-us|
|00000d30| 65 64 20 62 79 0a 61 6e | 67 65 2d 66 74 70 2e 20 |ed by.an|ge-ftp. |
|00000d40| 20 55 73 65 20 60 61 6e | 67 65 2d 66 74 70 2d 73 | Use `an|ge-ftp-s|
|00000d50| 65 74 2d 75 73 65 72 27 | 20 74 6f 20 63 68 61 6e |et-user'| to chan|
|00000d60| 67 65 20 74 68 65 20 63 | 61 63 68 65 64 20 76 61 |ge the c|ached va|
|00000d70| 6c 75 65 73 2c 0a 73 69 | 6e 63 65 20 73 65 74 74 |lues,.si|nce sett|
|00000d80| 69 6e 67 20 60 61 6e 67 | 65 2d 66 74 70 2d 64 65 |ing `ang|e-ftp-de|
|00000d90| 66 61 75 6c 74 2d 75 73 | 65 72 27 20 64 69 72 65 |fault-us|er' dire|
|00000da0| 63 74 6c 79 20 64 6f 65 | 73 20 6e 6f 74 20 61 66 |ctly doe|s not af|
|00000db0| 66 65 63 74 0a 74 68 65 | 20 63 61 63 68 65 64 20 |fect.the| cached |
|00000dc0| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 2e 1f 0a 28 64 |informat|ion...(d|
|00000dd0| 65 66 76 61 72 20 61 6e | 67 65 2d 66 74 70 2d 64 |efvar an|ge-ftp-d|
|00000de0| 65 66 61 75 6c 74 2d 75 | 73 65 72 20 6e 69 6c 20 |efault-u|ser nil |
|00000df0| 28 23 24 20 2e 20 2d 33 | 30 32 31 29 29 0a 23 40 |(#$ . -3|021)).#@|
|00000e00| 31 34 38 20 41 6c 74 65 | 72 6e 61 74 65 20 64 65 |148 Alte|rnate de|
|00000e10| 66 61 75 6c 74 20 75 73 | 65 72 20 6e 61 6d 65 20 |fault us|er name |
|00000e20| 74 6f 20 75 73 65 20 77 | 68 65 6e 20 6e 6f 6e 65 |to use w|hen none|
|00000e30| 20 69 73 20 73 70 65 63 | 69 66 69 65 64 2e 0a 54 | is spec|ified..T|
|00000e40| 68 69 73 20 76 61 72 69 | 61 62 6c 65 20 69 73 20 |his vari|able is |
|00000e50| 73 65 74 20 66 72 6f 6d | 20 74 68 65 20 60 64 65 |set from| the `de|
|00000e60| 66 61 75 6c 74 27 20 63 | 6f 6d 6d 61 6e 64 20 69 |fault' c|ommand i|
|00000e70| 6e 20 79 6f 75 72 20 60 | 2e 6e 65 74 72 63 27 20 |n your `|.netrc' |
|00000e80| 66 69 6c 65 2c 0a 69 66 | 20 74 68 65 72 65 20 69 |file,.if| there i|
|00000e90| 73 20 6f 6e 65 2e 1f 0a | 28 64 65 66 76 61 72 20 |s one...|(defvar |
|00000ea0| 61 6e 67 65 2d 66 74 70 | 2d 6e 65 74 72 63 2d 64 |ange-ftp|-netrc-d|
|00000eb0| 65 66 61 75 6c 74 2d 75 | 73 65 72 20 6e 69 6c 20 |efault-u|ser nil |
|00000ec0| 28 23 24 20 2e 20 33 35 | 38 38 29 29 0a 23 40 36 |(#$ . 35|88)).#@6|
|00000ed0| 39 20 2a 50 61 73 73 77 | 6f 72 64 20 74 6f 20 75 |9 *Passw|ord to u|
|00000ee0| 73 65 20 77 68 65 6e 20 | 74 68 65 20 75 73 65 72 |se when |the user|
|00000ef0| 20 6e 61 6d 65 20 65 71 | 75 61 6c 73 20 60 61 6e | name eq|uals `an|
|00000f00| 67 65 2d 66 74 70 2d 64 | 65 66 61 75 6c 74 2d 75 |ge-ftp-d|efault-u|
|00000f10| 73 65 72 27 2e 1f 0a 28 | 64 65 66 76 61 72 20 61 |ser'...(|defvar a|
|00000f20| 6e 67 65 2d 66 74 70 2d | 64 65 66 61 75 6c 74 2d |nge-ftp-|default-|
|00000f30| 70 61 73 73 77 6f 72 64 | 20 6e 69 6c 20 28 23 24 |password| nil (#$|
|00000f40| 20 2e 20 2d 33 37 39 34 | 29 29 0a 23 40 36 38 20 | . -3794|)).#@68 |
|00000f50| 2a 41 63 63 6f 75 6e 74 | 20 74 6f 20 75 73 65 20 |*Account| to use |
|00000f60| 77 68 65 6e 20 74 68 65 | 20 75 73 65 72 20 6e 61 |when the| user na|
|00000f70| 6d 65 20 65 71 75 61 6c | 73 20 60 61 6e 67 65 2d |me equal|s `ange-|
|00000f80| 66 74 70 2d 64 65 66 61 | 75 6c 74 2d 75 73 65 72 |ftp-defa|ult-user|
|00000f90| 27 2e 1f 0a 28 64 65 66 | 76 61 72 20 61 6e 67 65 |'...(def|var ange|
|00000fa0| 2d 66 74 70 2d 64 65 66 | 61 75 6c 74 2d 61 63 63 |-ftp-def|ault-acc|
|00000fb0| 6f 75 6e 74 20 6e 69 6c | 20 28 23 24 20 2e 20 2d |ount nil| (#$ . -|
|00000fc0| 33 39 32 30 29 29 0a 23 | 40 37 35 20 2a 50 61 73 |3920)).#|@75 *Pas|
|00000fd0| 73 77 6f 72 64 20 74 6f | 20 75 73 65 20 77 68 65 |sword to| use whe|
|00000fe0| 6e 20 74 68 65 20 75 73 | 65 72 20 6e 61 6d 65 20 |n the us|er name |
|00000ff0| 65 71 75 61 6c 73 20 60 | 61 6e 67 65 2d 66 74 70 |equals `|ange-ftp|
|00001000| 2d 6e 65 74 72 63 2d 64 | 65 66 61 75 6c 74 2d 75 |-netrc-d|efault-u|
|00001010| 73 65 72 27 2e 1f 0a 28 | 64 65 66 76 61 72 20 61 |ser'...(|defvar a|
|00001020| 6e 67 65 2d 66 74 70 2d | 6e 65 74 72 63 2d 64 65 |nge-ftp-|netrc-de|
|00001030| 66 61 75 6c 74 2d 70 61 | 73 73 77 6f 72 64 20 6e |fault-pa|ssword n|
|00001040| 69 6c 20 28 23 24 20 2e | 20 2d 34 30 34 34 29 29 |il (#$ .| -4044))|
|00001050| 0a 23 40 37 34 20 2a 41 | 63 63 6f 75 6e 74 20 74 |.#@74 *A|ccount t|
|00001060| 6f 20 75 73 65 20 77 68 | 65 6e 20 74 68 65 20 75 |o use wh|en the u|
|00001070| 73 65 72 20 6e 61 6d 65 | 20 65 71 75 61 6c 73 20 |ser name| equals |
|00001080| 60 61 6e 67 65 2d 66 74 | 70 2d 6e 65 74 72 63 2d |`ange-ft|p-netrc-|
|00001090| 64 65 66 61 75 6c 74 2d | 75 73 65 72 27 2e 1f 0a |default-|user'...|
|000010a0| 28 64 65 66 76 61 72 20 | 61 6e 67 65 2d 66 74 70 |(defvar |ange-ftp|
|000010b0| 2d 6e 65 74 72 63 2d 64 | 65 66 61 75 6c 74 2d 61 |-netrc-d|efault-a|
|000010c0| 63 63 6f 75 6e 74 20 6e | 69 6c 20 28 23 24 20 2e |ccount n|il (#$ .|
|000010d0| 20 2d 34 31 38 32 29 29 | 0a 23 40 31 36 33 20 2a | -4182))|.#@163 *|
|000010e0| 49 66 20 74 2c 20 75 73 | 65 20 76 61 6c 75 65 20 |If t, us|e value |
|000010f0| 6f 66 20 60 75 73 65 72 | 2d 6d 61 69 6c 2d 61 64 |of `user|-mail-ad|
|00001100| 64 72 65 73 73 27 20 61 | 73 20 70 61 73 73 77 6f |dress' a|s passwo|
|00001110| 72 64 20 66 6f 72 20 61 | 6e 6f 6e 79 6d 6f 75 73 |rd for a|nonymous|
|00001120| 20 66 74 70 2e 0a 49 66 | 20 61 20 73 74 72 69 6e | ftp..If| a strin|
|00001130| 67 2c 20 74 68 65 6e 20 | 75 73 65 20 74 68 61 74 |g, then |use that|
|00001140| 20 73 74 72 69 6e 67 20 | 61 73 20 74 68 65 20 70 | string |as the p|
|00001150| 61 73 73 77 6f 72 64 2e | 0a 49 66 20 6e 69 6c 2c |assword.|.If nil,|
|00001160| 20 70 72 6f 6d 70 74 20 | 74 68 65 20 75 73 65 72 | prompt |the user|
|00001170| 20 66 6f 72 20 61 20 70 | 61 73 73 77 6f 72 64 2e | for a p|assword.|
|00001180| 1f 0a 28 64 65 66 76 61 | 72 20 61 6e 67 65 2d 66 |..(defva|r ange-f|
|00001190| 74 70 2d 67 65 6e 65 72 | 61 74 65 2d 61 6e 6f 6e |tp-gener|ate-anon|
|000011a0| 79 6d 6f 75 73 2d 70 61 | 73 73 77 6f 72 64 20 74 |ymous-pa|ssword t|
|000011b0| 20 28 23 24 20 2e 20 2d | 34 33 31 39 29 29 0a 23 | (#$ . -|4319)).#|
|000011c0| 40 37 36 20 2a 49 66 20 | 6e 6f 6e 2d 6e 69 6c 2c |@76 *If |non-nil,|
|000011d0| 20 72 65 67 65 78 70 20 | 6d 61 74 63 68 69 6e 67 | regexp |matching|
|000011e0| 20 68 6f 73 74 73 20 6f | 6e 20 77 68 69 63 68 20 | hosts o|n which |
|000011f0| 60 64 69 72 27 20 63 6f | 6d 6d 61 6e 64 20 6c 69 |`dir' co|mmand li|
|00001200| 73 74 73 20 64 69 72 65 | 63 74 6f 72 79 2e 1f 0a |sts dire|ctory...|
|00001210| 28 64 65 66 76 61 72 20 | 61 6e 67 65 2d 66 74 70 |(defvar |ange-ftp|
|00001220| 2d 64 75 6d 62 2d 75 6e | 69 78 2d 68 6f 73 74 2d |-dumb-un|ix-host-|
|00001230| 72 65 67 65 78 70 20 6e | 69 6c 20 28 23 24 20 2e |regexp n|il (#$ .|
|00001240| 20 2d 34 35 34 38 29 29 | 0a 23 40 37 31 20 2a 49 | -4548))|.#@71 *I|
|00001250| 66 20 61 20 66 69 6c 65 | 20 6d 61 74 63 68 65 73 |f a file| matches|
|00001260| 20 74 68 69 73 20 72 65 | 67 65 78 70 20 74 68 65 | this re|gexp the|
|00001270| 6e 20 69 74 20 69 73 20 | 74 72 61 6e 73 66 65 72 |n it is |transfer|
|00001280| 72 65 64 20 69 6e 20 62 | 69 6e 61 72 79 20 6d 6f |red in b|inary mo|
|00001290| 64 65 2e 1f 0a 28 64 65 | 66 76 61 72 20 61 6e 67 |de...(de|fvar ang|
|000012a0| 65 2d 66 74 70 2d 62 69 | 6e 61 72 79 2d 66 69 6c |e-ftp-bi|nary-fil|
|000012b0| 65 2d 6e 61 6d 65 2d 72 | 65 67 65 78 70 20 28 63 |e-name-r|egexp (c|
|000012c0| 6f 6e 63 61 74 20 22 5c | 5c 2e 5b 7a 5a 5d 24 5c |oncat "\|\.[zZ]$\|
|000012d0| 5c 7c 5c 5c 2e 6c 7a 68 | 24 5c 5c 7c 5c 5c 2e 61 |\|\\.lzh|$\\|\\.a|
|000012e0| 72 63 24 5c 5c 7c 5c 5c | 2e 7a 69 70 24 5c 5c 7c |rc$\\|\\|.zip$\\||
|000012f0| 5c 5c 2e 7a 6f 6f 24 5c | 5c 7c 5c 5c 2e 74 61 72 |\\.zoo$\|\|\\.tar|
|00001300| 24 5c 5c 7c 22 20 22 5c | 5c 2e 64 76 69 24 5c 5c |$\\|" "\|\.dvi$\\|
|00001310| 7c 5c 5c 2e 70 73 24 5c | 5c 7c 5c 5c 2e 65 6c 63 ||\\.ps$\|\|\\.elc|
|00001320| 24 5c 5c 7c 54 41 47 53 | 24 5c 5c 7c 5c 5c 2e 67 |$\\|TAGS|$\\|\\.g|
|00001330| 69 66 24 5c 5c 7c 22 20 | 22 5c 5c 2e 45 58 45 5c |if$\\|" |"\\.EXE\|
|00001340| 5c 28 3b 5b 30 2d 39 5d | 2b 5c 5c 29 3f 24 5c 5c |\(;[0-9]|+\\)?$\\|
|00001350| 7c 5c 5c 2e 5b 7a 5a 5d | 2d 70 61 72 74 2d 2e 2e ||\\.[zZ]|-part-..|
|00001360| 24 5c 5c 7c 5c 5c 2e 67 | 7a 24 5c 5c 7c 22 20 22 |$\\|\\.g|z$\\|" "|
|00001370| 5c 5c 2e 74 61 7a 24 5c | 5c 7c 5c 5c 2e 74 67 7a |\\.taz$\|\|\\.tgz|
|00001380| 24 22 29 20 28 23 24 20 | 2e 20 2d 34 36 38 36 29 |$") (#$ |. -4686)|
|00001390| 29 0a 23 40 37 32 20 2a | 4e 61 6d 65 20 6f 66 20 |).#@72 *|Name of |
|000013a0| 68 6f 73 74 20 74 6f 20 | 75 73 65 20 61 73 20 67 |host to |use as g|
|000013b0| 61 74 65 77 61 79 20 6d | 61 63 68 69 6e 65 20 77 |ateway m|achine w|
|000013c0| 68 65 6e 20 6c 6f 63 61 | 6c 20 46 54 50 20 69 73 |hen loca|l FTP is|
|000013d0| 6e 27 74 20 70 6f 73 73 | 69 62 6c 65 2e 1f 0a 28 |n't poss|ible...(|
|000013e0| 64 65 66 76 61 72 20 61 | 6e 67 65 2d 66 74 70 2d |defvar a|nge-ftp-|
|000013f0| 67 61 74 65 77 61 79 2d | 68 6f 73 74 20 6e 69 6c |gateway-|host nil|
|00001400| 20 28 23 24 20 2e 20 2d | 35 30 31 35 29 29 0a 23 | (#$ . -|5015)).#|
|00001410| 40 32 30 30 20 2a 52 65 | 67 65 78 70 20 73 65 6c |@200 *Re|gexp sel|
|00001420| 65 63 74 69 6e 67 20 68 | 6f 73 74 73 20 77 68 69 |ecting h|osts whi|
|00001430| 63 68 20 63 61 6e 20 62 | 65 20 72 65 61 63 68 65 |ch can b|e reache|
|00001440| 64 20 64 69 72 65 63 74 | 6c 79 20 77 69 74 68 20 |d direct|ly with |
|00001450| 66 74 70 2e 0a 46 6f 72 | 20 6f 74 68 65 72 20 68 |ftp..For| other h|
|00001460| 6f 73 74 73 20 74 68 65 | 20 46 54 50 20 70 72 6f |osts the| FTP pro|
|00001470| 63 65 73 73 20 69 73 20 | 73 74 61 72 74 65 64 20 |cess is |started |
|00001480| 6f 6e 20 60 61 6e 67 65 | 2d 66 74 70 2d 67 61 74 |on `ange|-ftp-gat|
|00001490| 65 77 61 79 2d 68 6f 73 | 74 27 0a 69 6e 73 74 65 |eway-hos|t'.inste|
|000014a0| 61 64 2c 20 61 6e 64 2f | 6f 72 20 72 65 61 63 68 |ad, and/|or reach|
|000014b0| 65 64 20 76 69 61 20 60 | 61 6e 67 65 2d 66 74 70 |ed via `|ange-ftp|
|000014c0| 2d 67 61 74 65 77 61 79 | 2d 66 74 70 2d 70 72 6f |-gateway|-ftp-pro|
|000014d0| 67 72 61 6d 2d 6e 61 6d | 65 27 2e 1f 0a 28 64 65 |gram-nam|e'...(de|
|000014e0| 66 76 61 72 20 61 6e 67 | 65 2d 66 74 70 2d 6c 6f |fvar ang|e-ftp-lo|
|000014f0| 63 61 6c 2d 68 6f 73 74 | 2d 72 65 67 65 78 70 20 |cal-host|-regexp |
|00001500| 22 2e 2a 22 20 28 23 24 | 20 2e 20 2d 35 31 34 31 |".*" (#$| . -5141|
|00001510| 29 29 0a 23 40 31 31 34 | 20 2a 49 66 20 6e 6f 6e |)).#@114| *If non|
|00001520| 2d 6e 69 6c 20 74 68 65 | 6e 20 74 68 65 20 67 61 |-nil the|n the ga|
|00001530| 74 65 77 61 79 20 70 72 | 6f 67 72 61 6d 20 73 68 |teway pr|ogram sh|
|00001540| 6f 75 6c 64 20 20 67 69 | 76 65 20 61 20 73 68 65 |ould gi|ve a she|
|00001550| 6c 6c 20 70 72 6f 6d 70 | 74 2e 0a 42 6f 74 68 20 |ll promp|t..Both |
|00001560| 74 65 6c 6e 65 74 20 61 | 6e 64 20 72 6c 6f 67 69 |telnet a|nd rlogi|
|00001570| 6e 20 64 6f 20 73 6f 6d | 65 74 68 69 6e 67 20 6c |n do som|ething l|
|00001580| 69 6b 65 20 74 68 69 73 | 2e 1f 0a 28 64 65 66 76 |ike this|...(defv|
|00001590| 61 72 20 61 6e 67 65 2d | 66 74 70 2d 67 61 74 65 |ar ange-|ftp-gate|
|000015a0| 77 61 79 2d 70 72 6f 67 | 72 61 6d 2d 69 6e 74 65 |way-prog|ram-inte|
|000015b0| 72 61 63 74 69 76 65 20 | 6e 69 6c 20 28 23 24 20 |ractive |nil (#$ |
|000015c0| 2e 20 2d 35 34 30 31 29 | 29 0a 23 40 31 36 36 20 |. -5401)|).#@166 |
|000015d0| 2a 4e 61 6d 65 20 6f 66 | 20 70 72 6f 67 72 61 6d |*Name of| program|
|000015e0| 20 74 6f 20 73 70 61 77 | 6e 20 61 20 73 68 65 6c | to spaw|n a shel|
|000015f0| 6c 20 6f 6e 20 74 68 65 | 20 67 61 74 65 77 61 79 |l on the| gateway|
|00001600| 20 6d 61 63 68 69 6e 65 | 2e 0a 56 61 6c 69 64 20 | machine|..Valid |
|00001610| 63 61 6e 64 69 64 61 74 | 65 73 20 61 72 65 20 72 |candidat|es are r|
|00001620| 73 68 20 28 72 65 6d 73 | 68 20 6f 6e 20 73 6f 6d |sh (rems|h on som|
|00001630| 65 20 73 79 73 74 65 6d | 73 29 2c 20 74 65 6c 6e |e system|s), teln|
|00001640| 65 74 20 61 6e 64 20 72 | 6c 6f 67 69 6e 2e 20 20 |et and r|login. |
|00001650| 53 65 65 0a 61 6c 73 6f | 20 74 68 65 20 67 61 74 |See.also| the gat|
|00001660| 65 77 61 79 20 76 61 72 | 69 61 62 6c 65 20 61 62 |eway var|iable ab|
|00001670| 6f 76 65 2e 1f 0a 28 64 | 65 66 76 61 72 20 61 6e |ove...(d|efvar an|
|00001680| 67 65 2d 66 74 70 2d 67 | 61 74 65 77 61 79 2d 70 |ge-ftp-g|ateway-p|
|00001690| 72 6f 67 72 61 6d 20 72 | 65 6d 6f 74 65 2d 73 68 |rogram r|emote-sh|
|000016a0| 65 6c 6c 2d 70 72 6f 67 | 72 61 6d 20 28 23 24 20 |ell-prog|ram (#$ |
|000016b0| 2e 20 2d 35 35 38 34 29 | 29 0a 23 40 33 32 35 20 |. -5584)|).#@325 |
|000016c0| 2a 52 65 67 65 78 70 20 | 6d 61 74 63 68 69 6e 67 |*Regexp |matching|
|000016d0| 20 70 72 6f 6d 70 74 20 | 61 66 74 65 72 20 63 6f | prompt |after co|
|000016e0| 6d 70 6c 65 74 65 20 6c | 6f 67 69 6e 20 73 65 71 |mplete l|ogin seq|
|000016f0| 75 65 6e 63 65 20 6f 6e | 20 67 61 74 65 77 61 79 |uence on| gateway|
|00001700| 20 6d 61 63 68 69 6e 65 | 2e 0a 41 20 6d 61 74 63 | machine|..A matc|
|00001710| 68 20 66 6f 72 20 74 68 | 69 73 20 6d 65 61 6e 73 |h for th|is means|
|00001720| 20 74 68 65 20 73 68 65 | 6c 6c 20 69 73 20 6e 6f | the she|ll is no|
|00001730| 77 20 61 77 61 69 74 69 | 6e 67 20 69 6e 70 75 74 |w awaiti|ng input|
|00001740| 2e 20 20 4d 61 6b 65 20 | 74 68 69 73 20 72 65 67 |. Make |this reg|
|00001750| 65 78 70 20 61 73 0a 73 | 74 72 69 63 74 20 61 73 |exp as.s|trict as|
|00001760| 20 70 6f 73 73 69 62 6c | 65 3b 20 69 74 20 73 68 | possibl|e; it sh|
|00001770| 6f 75 6c 64 6e 27 74 20 | 6d 61 74 63 68 20 2a 61 |ouldn't |match *a|
|00001780| 6e 79 74 68 69 6e 67 2a | 20 61 74 20 61 6c 6c 20 |nything*| at all |
|00001790| 65 78 63 65 70 74 20 74 | 68 65 20 75 73 65 72 27 |except t|he user'|
|000017a0| 73 0a 69 6e 69 74 69 61 | 6c 20 70 72 6f 6d 70 74 |s.initia|l prompt|
|000017b0| 2e 20 20 54 68 65 20 61 | 62 6f 76 65 20 73 74 72 |. The a|bove str|
|000017c0| 69 6e 67 20 77 69 6c 6c | 20 66 61 69 6c 20 75 6e |ing will| fail un|
|000017d0| 64 65 72 20 6d 6f 73 74 | 20 53 55 4e 2d 33 27 73 |der most| SUN-3's|
|000017e0| 20 73 69 6e 63 65 20 69 | 74 0a 6d 61 74 63 68 65 | since i|t.matche|
|000017f0| 73 20 74 68 65 20 6c 6f | 67 69 6e 20 62 61 6e 6e |s the lo|gin bann|
|00001800| 65 72 2e 1f 0a 28 64 65 | 66 76 61 72 20 61 6e 67 |er...(de|fvar ang|
|00001810| 65 2d 66 74 70 2d 67 61 | 74 65 77 61 79 2d 70 72 |e-ftp-ga|teway-pr|
|00001820| 6f 6d 70 74 2d 70 61 74 | 74 65 72 6e 20 22 5e 5b |ompt-pat|tern "^[|
|00001830| 5e 23 24 25 3e 3b 5c 6e | 5d 2a 5b 23 24 25 3e 3b |^#$%>;\n|]*[#$%>;|
|00001840| 5d 20 2a 22 20 28 23 24 | 20 2e 20 2d 35 38 32 34 |] *" (#$| . -5824|
|00001850| 29 29 0a 23 40 31 37 33 | 20 2a 53 65 74 20 75 70 |)).#@173| *Set up|
|00001860| 20 74 65 72 6d 69 6e 61 | 6c 20 61 66 74 65 72 20 | termina|l after |
|00001870| 6c 6f 67 67 69 6e 67 20 | 69 6e 20 74 6f 20 74 68 |logging |in to th|
|00001880| 65 20 67 61 74 65 77 61 | 79 20 6d 61 63 68 69 6e |e gatewa|y machin|
|00001890| 65 2e 0a 54 68 69 73 20 | 63 6f 6d 6d 61 6e 64 20 |e..This |command |
|000018a0| 73 68 6f 75 6c 64 20 73 | 74 6f 70 20 74 68 65 20 |should s|top the |
|000018b0| 74 65 72 6d 69 6e 61 6c | 20 66 72 6f 6d 20 65 63 |terminal| from ec|
|000018c0| 68 6f 69 6e 67 20 65 61 | 63 68 20 63 6f 6d 6d 61 |hoing ea|ch comma|
|000018d0| 6e 64 2c 20 61 6e 64 0a | 61 72 72 61 6e 67 65 20 |nd, and.|arrange |
|000018e0| 74 6f 20 73 74 72 69 70 | 20 6f 75 74 20 74 72 61 |to strip| out tra|
|000018f0| 69 6c 69 6e 67 20 5e 4d | 20 63 68 61 72 61 63 74 |iling ^M| charact|
|00001900| 65 72 73 2e 1f 0a 28 64 | 65 66 76 61 72 20 61 6e |ers...(d|efvar an|
|00001910| 67 65 2d 66 74 70 2d 67 | 61 74 65 77 61 79 2d 73 |ge-ftp-g|ateway-s|
|00001920| 65 74 75 70 2d 74 65 72 | 6d 2d 63 6f 6d 6d 61 6e |etup-ter|m-comman|
|00001930| 64 20 28 62 79 74 65 2d | 63 6f 64 65 20 22 08 c1 |d (byte-|code "..|
|00001940| 3d 83 08 00 c2 87 c3 87 | 22 20 5b 73 79 73 74 65 |=.......|" [syste|
|00001950| 6d 2d 74 79 70 65 20 68 | 70 75 78 20 22 73 74 74 |m-type h|pux "stt|
|00001960| 79 20 2d 6f 6e 6c 63 72 | 20 2d 65 63 68 6f 5c 6e |y -onlcr| -echo\n|
|00001970| 22 20 22 73 74 74 79 20 | 2d 65 63 68 6f 20 6e 6c |" "stty |-echo nl|
|00001980| 5c 6e 22 5d 20 32 29 20 | 28 23 24 20 2e 20 2d 36 |\n"] 2) |(#$ . -6|
|00001990| 32 33 33 29 29 0a 23 40 | 32 33 31 20 2a 4e 6f 6e |233)).#@|231 *Non|
|000019a0| 2d 6e 69 6c 20 6d 65 61 | 6e 73 20 74 68 65 20 66 |-nil mea|ns the f|
|000019b0| 74 70 20 67 61 74 65 77 | 61 79 20 61 6e 64 2f 6f |tp gatew|ay and/o|
|000019c0| 72 20 74 68 65 20 67 61 | 74 65 77 61 79 20 66 74 |r the ga|teway ft|
|000019d0| 70 20 70 72 6f 67 72 61 | 6d 20 69 73 20 73 6d 61 |p progra|m is sma|
|000019e0| 72 74 2e 0a 44 6f 6e 27 | 74 20 62 6f 74 68 65 72 |rt..Don'|t bother|
|000019f0| 20 74 65 6c 6e 65 74 74 | 69 6e 67 2c 20 65 74 63 | telnett|ing, etc|
|00001a00| 2e 2c 20 61 6c 72 65 61 | 64 79 20 63 6f 6e 6e 65 |., alrea|dy conne|
|00001a10| 63 74 65 64 20 74 6f 20 | 64 65 73 69 72 65 64 20 |cted to |desired |
|00001a20| 68 6f 73 74 20 74 72 61 | 6e 73 70 61 72 65 6e 74 |host tra|nsparent|
|00001a30| 6c 79 2c 0a 6f 72 20 6a | 75 73 74 20 69 73 73 75 |ly,.or j|ust issu|
|00001a40| 65 20 61 20 75 73 65 72 | 40 68 6f 73 74 20 63 6f |e a user|@host co|
|00001a50| 6d 6d 61 6e 64 20 69 6e | 20 63 61 73 65 20 60 61 |mmand in| case `a|
|00001a60| 6e 67 65 2d 66 74 70 2d | 67 61 74 65 77 61 79 2d |nge-ftp-|gateway-|
|00001a70| 68 6f 73 74 27 20 69 73 | 20 6e 6f 6e 2d 6e 69 6c |host' is| non-nil|
|00001a80| 2e 1f 0a 28 64 65 66 76 | 61 72 20 61 6e 67 65 2d |...(defv|ar ange-|
|00001a90| 66 74 70 2d 73 6d 61 72 | 74 2d 67 61 74 65 77 61 |ftp-smar|t-gatewa|
|00001aa0| 79 20 6e 69 6c 20 28 23 | 24 20 2e 20 2d 36 35 35 |y nil (#|$ . -655|
|00001ab0| 36 29 29 0a 23 40 36 39 | 20 2a 50 6f 72 74 20 6f |6)).#@69| *Port o|
|00001ac0| 6e 20 67 61 74 65 77 61 | 79 20 6d 61 63 68 69 6e |n gatewa|y machin|
|00001ad0| 65 20 74 6f 20 75 73 65 | 20 77 68 65 6e 20 73 6d |e to use| when sm|
|00001ae0| 61 72 74 20 67 61 74 65 | 77 61 79 20 69 73 20 69 |art gate|way is i|
|00001af0| 6e 20 6f 70 65 72 61 74 | 69 6f 6e 2e 1f 0a 28 64 |n operat|ion...(d|
|00001b00| 65 66 76 61 72 20 61 6e | 67 65 2d 66 74 70 2d 73 |efvar an|ge-ftp-s|
|00001b10| 6d 61 72 74 2d 67 61 74 | 65 77 61 79 2d 70 6f 72 |mart-gat|eway-por|
|00001b20| 74 20 22 32 31 22 20 28 | 23 24 20 2e 20 2d 36 38 |t "21" (|#$ . -68|
|00001b30| 34 31 29 29 0a 23 40 35 | 35 20 2a 49 66 20 6e 6f |41)).#@5|5 *If no|
|00001b40| 6e 2d 6e 69 6c 2c 20 73 | 65 6e 64 20 74 68 65 20 |n-nil, s|end the |
|00001b50| 48 41 53 48 20 63 6f 6d | 6d 61 6e 64 20 74 6f 20 |HASH com|mand to |
|00001b60| 74 68 65 20 46 54 50 20 | 63 6c 69 65 6e 74 2e 1f |the FTP |client..|
|00001b70| 0a 28 64 65 66 76 61 72 | 20 61 6e 67 65 2d 66 74 |.(defvar| ange-ft|
|00001b80| 70 2d 73 65 6e 64 2d 68 | 61 73 68 20 74 20 28 23 |p-send-h|ash t (#|
|00001b90| 24 20 2e 20 2d 36 39 37 | 30 29 29 0a 23 40 32 36 |$ . -697|0)).#@26|
|00001ba0| 31 20 2a 44 65 66 61 75 | 6c 74 20 73 69 7a 65 2c |1 *Defau|lt size,|
|00001bb0| 20 69 6e 20 62 79 74 65 | 73 2c 20 62 65 74 77 65 | in byte|s, betwe|
|00001bc0| 65 6e 20 68 61 73 68 2d | 6d 61 72 6b 73 20 77 68 |en hash-|marks wh|
|00001bd0| 65 6e 20 74 72 61 6e 73 | 66 65 72 72 69 6e 67 20 |en trans|ferring |
|00001be0| 61 20 62 69 6e 61 72 79 | 20 66 69 6c 65 2e 0a 49 |a binary| file..I|
|00001bf0| 66 20 4e 49 4c 2c 20 74 | 68 69 73 20 76 61 72 69 |f NIL, t|his vari|
|00001c00| 61 62 6c 65 20 77 69 6c | 6c 20 62 65 20 6c 6f 63 |able wil|l be loc|
|00001c10| 61 6c 6c 79 20 6f 76 65 | 72 72 69 64 64 65 6e 20 |ally ove|rridden |
|00001c20| 69 66 20 74 68 65 20 46 | 54 50 20 63 6c 69 65 6e |if the F|TP clien|
|00001c30| 74 20 6f 75 74 70 75 74 | 73 20 61 0a 73 75 69 74 |t output|s a.suit|
|00001c40| 61 62 6c 65 20 72 65 73 | 70 6f 6e 73 65 20 74 6f |able res|ponse to|
|00001c50| 20 74 68 65 20 48 41 53 | 48 20 63 6f 6d 6d 61 6e | the HAS|H comman|
|00001c60| 64 2e 20 20 49 66 20 6e | 6f 6e 2d 4e 49 4c 20 74 |d. If n|on-NIL t|
|00001c70| 68 65 6e 20 74 68 69 73 | 20 76 61 6c 75 65 20 74 |hen this| value t|
|00001c80| 61 6b 65 73 0a 70 72 65 | 63 65 64 65 6e 63 65 20 |akes.pre|cedence |
|00001c90| 6f 76 65 72 20 74 68 65 | 20 6c 6f 63 61 6c 20 76 |over the| local v|
|00001ca0| 61 6c 75 65 2e 1f 0a 28 | 64 65 66 76 61 72 20 61 |alue...(|defvar a|
|00001cb0| 6e 67 65 2d 66 74 70 2d | 62 69 6e 61 72 79 2d 68 |nge-ftp-|binary-h|
|00001cc0| 61 73 68 2d 6d 61 72 6b | 2d 73 69 7a 65 20 6e 69 |ash-mark|-size ni|
|00001cd0| 6c 20 28 23 24 20 2e 20 | 2d 37 30 37 34 29 29 0a |l (#$ . |-7074)).|
|00001ce0| 23 40 32 30 36 20 2a 44 | 65 66 61 75 6c 74 20 73 |#@206 *D|efault s|
|00001cf0| 69 7a 65 2c 20 69 6e 20 | 62 79 74 65 73 2c 20 62 |ize, in |bytes, b|
|00001d00| 65 74 77 65 65 6e 20 68 | 61 73 68 2d 6d 61 72 6b |etween h|ash-mark|
|00001d10| 73 20 77 68 65 6e 20 74 | 72 61 6e 73 66 65 72 72 |s when t|ransferr|
|00001d20| 69 6e 67 20 61 6e 20 41 | 53 43 49 49 20 66 69 6c |ing an A|SCII fil|
|00001d30| 65 2e 0a 54 68 69 73 20 | 76 61 72 69 61 62 6c 65 |e..This |variable|
|00001d40| 20 69 73 20 62 75 66 66 | 65 72 2d 6c 6f 63 61 6c | is buff|er-local|
|00001d50| 20 61 6e 64 20 77 69 6c | 6c 20 62 65 20 6c 6f 63 | and wil|l be loc|
|00001d60| 61 6c 6c 79 20 6f 76 65 | 72 72 69 64 64 65 6e 20 |ally ove|rridden |
|00001d70| 69 66 20 74 68 65 20 46 | 54 50 20 63 6c 69 65 6e |if the F|TP clien|
|00001d80| 74 0a 6f 75 74 70 75 74 | 73 20 61 20 73 75 69 74 |t.output|s a suit|
|00001d90| 61 62 6c 65 20 72 65 73 | 70 6f 6e 73 65 20 74 6f |able res|ponse to|
|00001da0| 20 74 68 65 20 48 41 53 | 48 20 63 6f 6d 6d 61 6e | the HAS|H comman|
|00001db0| 64 2e 1f 0a 28 64 65 66 | 76 61 72 20 61 6e 67 65 |d...(def|var ange|
|00001dc0| 2d 66 74 70 2d 61 73 63 | 69 69 2d 68 61 73 68 2d |-ftp-asc|ii-hash-|
|00001dd0| 6d 61 72 6b 2d 73 69 7a | 65 20 31 30 32 34 20 28 |mark-siz|e 1024 (|
|00001de0| 23 24 20 2e 20 2d 37 33 | 39 38 29 29 0a 23 40 36 |#$ . -73|98)).#@6|
|00001df0| 38 20 2a 49 66 20 6e 6f | 6e 2d 4e 49 4c 20 74 68 |8 *If no|n-NIL th|
|00001e00| 65 6e 20 62 65 20 63 68 | 61 74 74 79 20 61 62 6f |en be ch|atty abo|
|00001e10| 75 74 20 69 6e 74 65 72 | 61 63 74 69 6f 6e 20 77 |ut inter|action w|
|00001e20| 69 74 68 20 74 68 65 20 | 46 54 50 20 70 72 6f 63 |ith the |FTP proc|
|00001e30| 65 73 73 2e 1f 0a 28 64 | 65 66 76 61 72 20 61 6e |ess...(d|efvar an|
|00001e40| 67 65 2d 66 74 70 2d 70 | 72 6f 63 65 73 73 2d 76 |ge-ftp-p|rocess-v|
|00001e50| 65 72 62 6f 73 65 20 74 | 20 28 23 24 20 2e 20 2d |erbose t| (#$ . -|
|00001e60| 37 36 36 36 29 29 0a 23 | 40 33 30 20 2a 4e 61 6d |7666)).#|@30 *Nam|
|00001e70| 65 20 6f 66 20 46 54 50 | 20 70 72 6f 67 72 61 6d |e of FTP| program|
|00001e80| 20 74 6f 20 72 75 6e 2e | 1f 0a 28 64 65 66 76 61 | to run.|..(defva|
|00001e90| 72 20 61 6e 67 65 2d 66 | 74 70 2d 66 74 70 2d 70 |r ange-f|tp-ftp-p|
|00001ea0| 72 6f 67 72 61 6d 2d 6e | 61 6d 65 20 22 66 74 70 |rogram-n|ame "ftp|
|00001eb0| 22 20 28 23 24 20 2e 20 | 2d 37 37 38 38 29 29 0a |" (#$ . |-7788)).|
|00001ec0| 23 40 31 32 30 20 2a 4e | 61 6d 65 20 6f 66 20 46 |#@120 *N|ame of F|
|00001ed0| 54 50 20 70 72 6f 67 72 | 61 6d 20 74 6f 20 72 75 |TP progr|am to ru|
|00001ee0| 6e 20 77 68 65 6e 20 61 | 63 63 65 73 73 69 6e 67 |n when a|ccessing|
|00001ef0| 20 6e 6f 6e 2d 6c 6f 63 | 61 6c 20 68 6f 73 74 73 | non-loc|al hosts|
|00001f00| 2e 0a 53 6f 6d 65 20 41 | 54 26 54 20 66 6f 6c 6b |..Some A|T&T folk|
|00001f10| 73 20 63 6c 61 69 6d 20 | 74 6f 20 75 73 65 20 73 |s claim |to use s|
|00001f20| 6f 6d 65 74 68 69 6e 67 | 20 63 61 6c 6c 65 64 20 |omething| called |
|00001f30| 60 70 66 74 70 27 20 68 | 65 72 65 2e 1f 0a 28 64 |`pftp' h|ere...(d|
|00001f40| 65 66 76 61 72 20 61 6e | 67 65 2d 66 74 70 2d 67 |efvar an|ge-ftp-g|
|00001f50| 61 74 65 77 61 79 2d 66 | 74 70 2d 70 72 6f 67 72 |ateway-f|tp-progr|
|00001f60| 61 6d 2d 6e 61 6d 65 20 | 22 66 74 70 22 20 28 23 |am-name |"ftp" (#|
|00001f70| 24 20 2e 20 2d 37 38 37 | 38 29 29 0a 23 40 36 32 |$ . -787|8)).#@62|
|00001f80| 20 2a 41 20 6c 69 73 74 | 20 6f 66 20 61 72 67 75 | *A list| of argu|
|00001f90| 6d 65 6e 74 73 20 70 61 | 73 73 65 64 20 74 6f 20 |ments pa|ssed to |
|00001fa0| 74 68 65 20 46 54 50 20 | 70 72 6f 67 72 61 6d 20 |the FTP |program |
|00001fb0| 77 68 65 6e 20 73 74 61 | 72 74 65 64 2e 1f 0a 28 |when sta|rted...(|
|00001fc0| 64 65 66 76 61 72 20 61 | 6e 67 65 2d 66 74 70 2d |defvar a|nge-ftp-|
|00001fd0| 66 74 70 2d 70 72 6f 67 | 72 61 6d 2d 61 72 67 73 |ftp-prog|ram-args|
|00001fe0| 20 28 71 75 6f 74 65 20 | 28 22 2d 69 22 20 22 2d | (quote |("-i" "-|
|00001ff0| 6e 22 20 22 2d 67 22 20 | 22 2d 76 22 29 29 20 28 |n" "-g" |"-v")) (|
|00002000| 23 24 20 2e 20 2d 38 30 | 36 35 29 29 0a 23 40 35 |#$ . -80|65)).#@5|
|00002010| 32 20 2a 49 66 20 6e 6f | 6e 2d 4e 49 4c 20 74 68 |2 *If no|n-NIL th|
|00002020| 65 6e 20 61 20 73 74 72 | 69 6e 67 20 6e 61 6d 69 |en a str|ing nami|
|00002030| 6e 67 20 6e 73 6c 6f 6f | 6b 75 70 20 70 72 6f 67 |ng nsloo|kup prog|
|00002040| 72 61 6d 2e 1f 0a 28 64 | 65 66 76 61 72 20 61 6e |ram...(d|efvar an|
|00002050| 67 65 2d 66 74 70 2d 6e | 73 6c 6f 6f 6b 75 70 2d |ge-ftp-n|slookup-|
|00002060| 70 72 6f 67 72 61 6d 20 | 6e 69 6c 20 28 23 24 20 |program |nil (#$ |
|00002070| 2e 20 2d 38 32 31 30 29 | 29 0a 23 40 36 30 20 2a |. -8210)|).#@60 *|
|00002080| 4e 6f 6e 2d 6e 69 6c 20 | 6d 65 61 6e 73 20 6d 61 |Non-nil |means ma|
|00002090| 6b 65 20 62 61 63 6b 75 | 70 20 66 69 6c 65 73 20 |ke backu|p files |
|000020a0| 66 6f 72 20 22 6d 61 67 | 69 63 22 20 72 65 6d 6f |for "mag|ic" remo|
|000020b0| 74 65 20 66 69 6c 65 73 | 2e 1f 0a 28 64 65 66 76 |te files|...(defv|
|000020c0| 61 72 20 61 6e 67 65 2d | 66 74 70 2d 6d 61 6b 65 |ar ange-|ftp-make|
|000020d0| 2d 62 61 63 6b 75 70 2d | 66 69 6c 65 73 20 6e 69 |-backup-|files ni|
|000020e0| 6c 20 28 23 24 20 2e 20 | 2d 38 33 31 39 29 29 0a |l (#$ . |-8319)).|
|000020f0| 23 40 31 33 35 20 2a 4e | 75 6d 62 65 72 20 6f 66 |#@135 *N|umber of|
|00002100| 20 73 65 63 6f 6e 64 73 | 20 74 6f 20 77 61 69 74 | seconds| to wait|
|00002110| 20 62 65 66 6f 72 65 20 | 72 65 74 72 79 20 69 66 | before |retry if|
|00002120| 20 66 69 6c 65 20 6f 72 | 20 6c 69 73 74 69 6e 67 | file or| listing|
|00002130| 20 64 6f 65 73 6e 27 74 | 20 61 72 72 69 76 65 2e | doesn't| arrive.|
|00002140| 0a 54 68 69 73 20 6d 69 | 67 68 74 20 6e 65 65 64 |.This mi|ght need|
|00002150| 20 74 6f 20 62 65 20 69 | 6e 63 72 65 61 73 65 64 | to be i|ncreased|
|00002160| 20 66 6f 72 20 76 65 72 | 79 20 73 6c 6f 77 20 63 | for ver|y slow c|
|00002170| 6f 6e 6e 65 63 74 69 6f | 6e 73 2e 1f 0a 28 64 65 |onnectio|ns...(de|
|00002180| 66 76 61 72 20 61 6e 67 | 65 2d 66 74 70 2d 72 65 |fvar ang|e-ftp-re|
|00002190| 74 72 79 2d 74 69 6d 65 | 20 35 20 28 23 24 20 2e |try-time| 5 (#$ .|
|000021a0| 20 2d 38 34 33 38 29 29 | 0a 23 40 31 32 32 20 49 | -8438))|.#@122 I|
|000021b0| 66 20 31 2c 20 61 6c 6c | 6f 77 73 20 61 6e 67 65 |f 1, all|ows ange|
|000021c0| 2d 66 74 70 20 66 69 6c | 65 73 20 74 6f 20 62 65 |-ftp fil|es to be|
|000021d0| 20 61 75 74 6f 2d 73 61 | 76 65 64 2e 0a 49 66 20 | auto-sa|ved..If |
|000021e0| 30 2c 20 73 75 70 70 72 | 65 73 73 65 73 20 61 75 |0, suppr|esses au|
|000021f0| 74 6f 2d 73 61 76 69 6e | 67 20 6f 66 20 61 6e 67 |to-savin|g of ang|
|00002200| 65 2d 66 74 70 20 66 69 | 6c 65 73 2e 0a 44 6f 6e |e-ftp fi|les..Don|
|00002210| 27 74 20 75 73 65 20 61 | 6e 79 20 6f 74 68 65 72 |'t use a|ny other|
|00002220| 20 76 61 6c 75 65 2e 1f | 0a 28 64 65 66 76 61 72 | value..|.(defvar|
|00002230| 20 61 6e 67 65 2d 66 74 | 70 2d 61 75 74 6f 2d 73 | ange-ft|p-auto-s|
|00002240| 61 76 65 20 30 20 28 23 | 24 20 2e 20 38 36 32 33 |ave 0 (#|$ . 8623|
|00002250| 29 29 0a 28 72 65 71 75 | 69 72 65 20 28 71 75 6f |)).(requ|ire (quo|
|00002260| 74 65 20 62 61 63 6b 71 | 75 6f 74 65 29 29 0a 23 |te backq|uote)).#|
|00002270| 40 39 35 20 4d 61 6b 65 | 20 61 6e 20 6f 62 61 72 |@95 Make| an obar|
|00002280| 72 61 79 20 73 75 69 74 | 61 62 6c 65 20 66 6f 72 |ray suit|able for|
|00002290| 20 75 73 65 20 61 73 20 | 61 20 68 61 73 68 74 61 | use as |a hashta|
|000022a0| 62 6c 65 2e 0a 53 49 5a | 45 2c 20 69 66 20 73 75 |ble..SIZ|E, if su|
|000022b0| 70 70 6c 69 65 64 2c 20 | 73 68 6f 75 6c 64 20 62 |pplied, |should b|
|000022c0| 65 20 61 20 70 72 69 6d | 65 20 6e 75 6d 62 65 72 |e a prim|e number|
|000022d0| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 61 6e |...(defa|lias 'an|
|000022e0| 67 65 2d 66 74 70 2d 6d | 61 6b 65 2d 68 61 73 68 |ge-ftp-m|ake-hash|
|000022f0| 74 61 62 6c 65 20 23 5b | 28 26 6f 70 74 69 6f 6e |table #[|(&option|
|00002300| 61 6c 20 73 69 7a 65 29 | 20 22 c0 09 86 06 00 c2 |al size)| "......|
|00002310| c3 5c 22 87 22 20 5b 6d | 61 6b 65 2d 76 65 63 74 |.\"." [m|ake-vect|
|00002320| 6f 72 20 73 69 7a 65 20 | 33 31 20 30 5d 20 33 20 |or size |31 0] 3 |
|00002330| 28 23 24 20 2e 20 38 38 | 32 30 29 5d 29 0a 23 40 |(#$ . 88|20)]).#@|
|00002340| 35 31 20 43 61 6c 6c 20 | 46 55 4e 43 54 49 4f 4e |51 Call |FUNCTION|
|00002350| 20 6f 6e 20 65 61 63 68 | 20 6b 65 79 20 61 6e 64 | on each| key and|
|00002360| 20 76 61 6c 75 65 20 69 | 6e 20 48 41 53 48 54 41 | value i|n HASHTA|
|00002370| 42 4c 45 2e 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 |BLE...(d|efalias |
|00002380| 27 61 6e 67 65 2d 66 74 | 70 2d 6d 61 70 2d 68 61 |'ange-ft|p-map-ha|
|00002390| 73 68 74 61 62 6c 65 20 | 23 5b 28 66 75 6e 20 74 |shtable |#[(fun t|
|000023a0| 62 6c 29 20 22 c0 c1 5c | 6e 5c 22 87 22 20 5b 6d |bl) "..\|n\"." [m|
|000023b0| 61 70 61 74 6f 6d 73 20 | 23 5b 28 73 79 6d 29 20 |apatoms |#[(sym) |
|000023c0| 22 08 09 c2 4e 09 c3 4e | 5c 22 87 22 20 5b 66 75 |"...N..N|\"." [fu|
|000023d0| 6e 20 73 79 6d 20 6b 65 | 79 20 76 61 6c 5d 20 34 |n sym ke|y val] 4|
|000023e0| 5d 20 74 62 6c 5d 20 33 | 20 28 23 24 20 2e 20 39 |] tbl] 3| (#$ . 9|
|000023f0| 30 32 37 29 5d 29 0a 23 | 40 35 30 20 43 6f 6e 76 |027)]).#|@50 Conv|
|00002400| 65 72 74 20 4b 45 59 20 | 69 6e 74 6f 20 61 20 73 |ert KEY |into a s|
|00002410| 75 69 74 61 62 6c 65 20 | 6b 65 79 20 66 6f 72 20 |uitable |key for |
|00002420| 61 20 68 61 73 68 74 61 | 62 6c 65 2e 1f 0a 28 64 |a hashta|ble...(d|
|00002430| 65 66 61 6c 69 61 73 20 | 27 61 6e 67 65 2d 66 74 |efalias |'ange-ft|
|00002440| 70 2d 6d 61 6b 65 2d 68 | 61 73 68 2d 6b 65 79 20 |p-make-h|ash-key |
|00002450| 27 28 6d 61 63 72 6f 20 | 2e 20 23 5b 28 6b 65 79 |'(macro |. #[(key|
|00002460| 29 20 22 c0 c1 5c 6e 44 | 5c 6e c3 5c 6e 44 46 87 |) "..\nD|\n.\nDF.|
|00002470| 22 20 5b 69 66 20 73 74 | 72 69 6e 67 70 20 6b 65 |" [if st|ringp ke|
|00002480| 79 20 70 72 69 6e 31 2d | 74 6f 2d 73 74 72 69 6e |y prin1-|to-strin|
|00002490| 67 5d 20 35 20 28 23 24 | 20 2e 20 39 32 31 32 29 |g] 5 (#$| . 9212)|
|000024a0| 5d 29 29 0a 23 40 35 32 | 20 52 65 74 75 72 6e 20 |])).#@52| Return |
|000024b0| 74 68 65 20 76 61 6c 75 | 65 20 61 73 73 6f 63 69 |the valu|e associ|
|000024c0| 61 74 65 64 20 77 69 74 | 68 20 4b 45 59 20 69 6e |ated wit|h KEY in|
|000024d0| 20 48 41 53 48 54 41 42 | 4c 45 2e 1f 0a 28 64 65 | HASHTAB|LE...(de|
|000024e0| 66 61 6c 69 61 73 20 27 | 61 6e 67 65 2d 66 74 70 |falias '|ange-ftp|
|000024f0| 2d 67 65 74 2d 68 61 73 | 68 2d 65 6e 74 72 79 20 |-get-has|h-entry |
|00002500| 23 5b 28 6b 65 79 20 74 | 62 6c 29 20 22 c0 09 3b |#[(key t|bl) "..;|
|00002510| 83 5c 6e 00 09 82 0d 00 | c2 09 21 0b 5c 22 89 1c |.\n.....|..!.\"..|
|00002520| 85 17 00 5c 66 c5 4e 29 | 87 22 20 5b 69 6e 74 65 |...\f.N)|." [inte|
|00002530| 72 6e 2d 73 6f 66 74 20 | 6b 65 79 20 70 72 69 6e |rn-soft |key prin|
|00002540| 31 2d 74 6f 2d 73 74 72 | 69 6e 67 20 74 62 6c 20 |1-to-str|ing tbl |
|00002550| 73 79 6d 20 76 61 6c 5d | 20 34 20 28 23 24 20 2e |sym val]| 4 (#$ .|
|00002560| 20 39 33 38 35 29 5d 29 | 0a 23 40 35 39 20 52 65 | 9385)])|.#@59 Re|
|00002570| 63 6f 72 64 20 61 6e 20 | 61 73 73 6f 63 69 61 74 |cord an |associat|
|00002580| 69 6f 6e 20 62 65 74 77 | 65 65 6e 20 4b 45 59 20 |ion betw|een KEY |
|00002590| 61 6e 64 20 56 41 4c 55 | 45 20 69 6e 20 48 41 53 |and VALU|E in HAS|
|000025a0| 48 54 41 42 4c 45 2e 1f | 0a 28 64 65 66 61 6c 69 |HTABLE..|.(defali|
|000025b0| 61 73 20 27 61 6e 67 65 | 2d 66 74 70 2d 70 75 74 |as 'ange|-ftp-put|
|000025c0| 2d 68 61 73 68 2d 65 6e | 74 72 79 20 23 5b 28 6b |-hash-en|try #[(k|
|000025d0| 65 79 20 76 61 6c 20 74 | 62 6c 29 20 22 c0 09 3b |ey val t|bl) "..;|
|000025e0| 83 5c 6e 00 09 82 0d 00 | c2 09 21 0b 5c 22 1c c5 |.\n.....|..!.\"..|
|000025f0| 5c 66 c6 0e 06 23 88 c5 | 5c 66 c1 09 23 29 87 22 |\f...#..|\f..#)."|
|00002600| 20 5b 69 6e 74 65 72 6e | 20 6b 65 79 20 70 72 69 | [intern| key pri|
|00002610| 6e 31 2d 74 6f 2d 73 74 | 72 69 6e 67 20 74 62 6c |n1-to-st|ring tbl|
|00002620| 20 73 79 6d 20 70 75 74 | 20 76 61 6c 5d 20 34 20 | sym put| val] 4 |
|00002630| 28 23 24 20 2e 20 39 35 | 38 32 29 5d 29 0a 23 40 |(#$ . 95|82)]).#@|
|00002640| 37 33 20 43 6f 70 79 20 | 61 6c 6c 20 73 79 6d 62 |73 Copy |all symb|
|00002650| 6f 6c 73 20 65 78 63 65 | 70 74 20 4b 45 59 20 69 |ols exce|pt KEY i|
|00002660| 6e 20 48 41 53 48 54 41 | 42 4c 45 20 61 6e 64 20 |n HASHTA|BLE and |
|00002670| 72 65 74 75 72 6e 20 6d | 6f 64 69 66 69 65 64 20 |return m|odified |
|00002680| 68 61 73 68 74 61 62 6c | 65 2e 1f 0a 28 64 65 66 |hashtabl|e...(def|
|00002690| 61 6c 69 61 73 20 27 61 | 6e 67 65 2d 66 74 70 2d |alias 'a|nge-ftp-|
|000026a0| 64 65 6c 2d 68 61 73 68 | 2d 65 6e 74 72 79 20 23 |del-hash|-entry #|
|000026b0| 5b 28 6b 65 79 20 74 62 | 6c 29 20 22 08 47 19 c2 |[(key tb|l) ".G..|
|000026c0| 09 21 1b 09 53 1c c5 c6 | 08 5c 22 88 5c 66 c7 59 |.!..S...|.\".\f.Y|
|000026d0| 83 23 00 08 5c 66 0b 5c | 66 48 49 88 5c 66 53 89 |.#..\f.\|fHI.\fS.|
|000026e0| 14 82 10 00 08 2b 87 22 | 20 5b 74 62 6c 20 6c 65 |.....+."| [tbl le|
|000026f0| 6e 20 61 6e 67 65 2d 66 | 74 70 2d 6d 61 6b 65 2d |n ange-f|tp-make-|
|00002700| 68 61 73 68 74 61 62 6c | 65 20 6e 65 77 2d 74 62 |hashtabl|e new-tb|
|00002710| 6c 20 69 20 61 6e 67 65 | 2d 66 74 70 2d 6d 61 70 |l i ange|-ftp-map|
|00002720| 2d 68 61 73 68 74 61 62 | 6c 65 20 23 5b 28 6b 20 |-hashtab|le #[(k |
|00002730| 76 29 20 22 08 09 9a 86 | 0b 00 c2 08 0b 5c 66 23 |v) "....|.....\f#|
|00002740| 87 22 20 5b 6b 20 6b 65 | 79 20 61 6e 67 65 2d 66 |." [k ke|y ange-f|
|00002750| 74 70 2d 70 75 74 2d 68 | 61 73 68 2d 65 6e 74 72 |tp-put-h|ash-entr|
|00002760| 79 20 76 20 6e 65 77 2d | 74 62 6c 5d 20 34 5d 20 |y v new-|tbl] 4] |
|00002770| 30 5d 20 35 20 28 23 24 | 20 2e 20 39 37 39 35 29 |0] 5 (#$| . 9795)|
|00002780| 5d 29 0a 23 40 35 38 20 | 52 65 74 75 72 6e 20 77 |]).#@58 |Return w|
|00002790| 68 65 74 68 65 72 20 74 | 68 65 72 65 20 69 73 20 |hether t|here is |
|000027a0| 61 6e 20 61 73 73 6f 63 | 69 61 74 69 6f 6e 20 66 |an assoc|iation f|
|000027b0| 6f 72 20 4b 45 59 20 69 | 6e 20 54 41 42 4c 45 2e |or KEY i|n TABLE.|
|000027c0| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 61 6e 67 |..(defal|ias 'ang|
|000027d0| 65 2d 66 74 70 2d 68 61 | 73 68 2d 65 6e 74 72 79 |e-ftp-ha|sh-entry|
|000027e0| 2d 65 78 69 73 74 73 2d | 70 20 23 5b 28 6b 65 79 |-exists-|p #[(key|
|000027f0| 20 74 62 6c 29 20 22 c0 | 09 3b 83 5c 6e 00 09 82 | tbl) ".|.;.\n...|
|00002800| 0d 00 c2 09 21 0b 5c 22 | 87 22 20 5b 69 6e 74 65 |....!.\"|." [inte|
|00002810| 72 6e 2d 73 6f 66 74 20 | 6b 65 79 20 70 72 69 6e |rn-soft |key prin|
|00002820| 31 2d 74 6f 2d 73 74 72 | 69 6e 67 20 74 62 6c 5d |1-to-str|ing tbl]|
|00002830| 20 33 20 28 23 24 20 2e | 20 31 30 31 32 30 29 5d | 3 (#$ .| 10120)]|
|00002840| 29 0a 23 40 36 37 20 52 | 65 74 75 72 6e 20 61 20 |).#@67 R|eturn a |
|00002850| 73 6f 72 74 65 64 20 6c | 69 73 74 20 6f 66 20 61 |sorted l|ist of a|
|00002860| 6c 6c 20 74 68 65 20 61 | 63 74 69 76 65 20 6b 65 |ll the a|ctive ke|
|00002870| 79 73 20 69 6e 20 54 41 | 42 4c 45 2c 20 61 73 20 |ys in TA|BLE, as |
|00002880| 73 74 72 69 6e 67 73 2e | 1f 0a 28 64 65 66 61 6c |strings.|..(defal|
|00002890| 69 61 73 20 27 61 6e 67 | 65 2d 66 74 70 2d 68 61 |ias 'ang|e-ftp-ha|
|000028a0| 73 68 2d 74 61 62 6c 65 | 2d 6b 65 79 73 20 23 5b |sh-table|-keys #[|
|000028b0| 28 74 62 6c 29 20 22 c0 | c1 c2 0b 5c 22 c4 5c 22 |(tbl) ".|...\".\"|
|000028c0| 87 22 20 5b 73 6f 72 74 | 20 61 6c 6c 2d 63 6f 6d |." [sort| all-com|
|000028d0| 70 6c 65 74 69 6f 6e 73 | 20 22 22 20 74 62 6c 20 |pletions| "" tbl |
|000028e0| 73 74 72 69 6e 67 2d 6c | 65 73 73 70 5d 20 34 20 |string-l|essp] 4 |
|000028f0| 28 23 24 20 2e 20 31 30 | 33 31 31 29 5d 29 0a 23 |(#$ . 10|311)]).#|
|00002900| 40 37 31 20 42 75 66 66 | 65 72 20 6e 61 6d 65 20 |@71 Buff|er name |
|00002910| 74 6f 20 68 6f 6c 64 20 | 64 69 72 65 63 74 6f 72 |to hold |director|
|00002920| 79 20 6c 69 73 74 69 6e | 67 20 64 61 74 61 20 72 |y listin|g data r|
|00002930| 65 63 65 69 76 65 64 20 | 66 72 6f 6d 20 66 74 70 |eceived |from ftp|
|00002940| 20 70 72 6f 63 65 73 73 | 2e 1f 0a 28 64 65 66 76 | process|...(defv|
|00002950| 61 72 20 61 6e 67 65 2d | 66 74 70 2d 64 61 74 61 |ar ange-|ftp-data|
|00002960| 2d 62 75 66 66 65 72 2d | 6e 61 6d 65 20 22 20 2a |-buffer-|name " *|
|00002970| 66 74 70 20 64 61 74 61 | 2a 22 20 28 23 24 20 2e |ftp data|*" (#$ .|
|00002980| 20 31 30 35 30 30 29 29 | 0a 23 40 36 30 20 4c 61 | 10500))|.#@60 La|
|00002990| 73 74 20 6d 6f 64 69 66 | 69 65 64 20 74 69 6d 65 |st modif|ied time|
|000029a0| 20 6f 66 20 74 68 65 20 | 6e 65 74 72 63 20 66 69 | of the |netrc fi|
|000029b0| 6c 65 20 66 72 6f 6d 20 | 66 69 6c 65 2d 61 74 74 |le from |file-att|
|000029c0| 72 69 62 75 74 65 73 2e | 1f 0a 28 64 65 66 76 61 |ributes.|..(defva|
|000029d0| 72 20 61 6e 67 65 2d 66 | 74 70 2d 6e 65 74 72 63 |r ange-f|tp-netrc|
|000029e0| 2d 6d 6f 64 74 69 6d 65 | 20 6e 69 6c 20 28 23 24 |-modtime| nil (#$|
|000029f0| 20 2e 20 31 30 36 33 38 | 29 29 0a 23 40 35 39 20 | . 10638|)).#@59 |
|00002a00| 48 61 73 68 20 74 61 62 | 6c 65 20 68 6f 6c 64 69 |Hash tab|le holdi|
|00002a10| 6e 67 20 61 73 73 6f 63 | 69 61 74 69 6f 6e 73 20 |ng assoc|iations |
|00002a20| 62 65 74 77 65 65 6e 20 | 48 4f 53 54 2c 20 55 53 |between |HOST, US|
|00002a30| 45 52 20 70 61 69 72 73 | 2e 1f 0a 28 64 65 66 76 |ER pairs|...(defv|
|00002a40| 61 72 20 61 6e 67 65 2d | 66 74 70 2d 75 73 65 72 |ar ange-|ftp-user|
|00002a50| 2d 68 61 73 68 74 61 62 | 6c 65 20 28 61 6e 67 65 |-hashtab|le (ange|
|00002a60| 2d 66 74 70 2d 6d 61 6b | 65 2d 68 61 73 68 74 61 |-ftp-mak|e-hashta|
|00002a70| 62 6c 65 29 20 28 23 24 | 20 2e 20 31 30 37 35 32 |ble) (#$| . 10752|
|00002a80| 29 29 0a 23 40 36 30 20 | 4d 61 70 70 69 6e 67 20 |)).#@60 |Mapping |
|00002a90| 62 65 74 77 65 65 6e 20 | 61 20 48 4f 53 54 2c 20 |between |a HOST, |
|00002aa0| 55 53 45 52 20 70 61 69 | 72 20 61 6e 64 20 61 20 |USER pai|r and a |
|00002ab0| 50 41 53 53 57 4f 52 44 | 20 66 6f 72 20 74 68 65 |PASSWORD| for the|
|00002ac0| 6d 2e 1f 0a 28 64 65 66 | 76 61 72 20 61 6e 67 65 |m...(def|var ange|
|00002ad0| 2d 66 74 70 2d 70 61 73 | 73 77 64 2d 68 61 73 68 |-ftp-pas|swd-hash|
|00002ae0| 74 61 62 6c 65 20 28 61 | 6e 67 65 2d 66 74 70 2d |table (a|nge-ftp-|
|00002af0| 6d 61 6b 65 2d 68 61 73 | 68 74 61 62 6c 65 29 20 |make-has|htable) |
|00002b00| 28 23 24 20 2e 20 31 30 | 38 38 38 29 29 0a 23 40 |(#$ . 10|888)).#@|
|00002b10| 36 38 20 4d 61 70 70 69 | 6e 67 20 62 65 74 77 65 |68 Mappi|ng betwe|
|00002b20| 65 6e 20 61 20 48 4f 53 | 54 2c 20 55 53 45 52 20 |en a HOS|T, USER |
|00002b30| 70 61 69 72 20 61 6e 64 | 20 61 20 41 43 43 4f 55 |pair and| a ACCOU|
|00002b40| 4e 54 20 70 61 73 73 77 | 6f 72 64 20 66 6f 72 20 |NT passw|ord for |
|00002b50| 74 68 65 6d 2e 1f 0a 28 | 64 65 66 76 61 72 20 61 |them...(|defvar a|
|00002b60| 6e 67 65 2d 66 74 70 2d | 61 63 63 6f 75 6e 74 2d |nge-ftp-|account-|
|00002b70| 68 61 73 68 74 61 62 6c | 65 20 28 61 6e 67 65 2d |hashtabl|e (ange-|
|00002b80| 66 74 70 2d 6d 61 6b 65 | 2d 68 61 73 68 74 61 62 |ftp-make|-hashtab|
|00002b90| 6c 65 29 20 28 23 24 20 | 2e 20 31 31 30 32 37 29 |le) (#$ |. 11027)|
|00002ba0| 29 0a 23 40 36 34 20 48 | 61 73 68 20 74 61 62 6c |).#@64 H|ash tabl|
|00002bb0| 65 20 66 6f 72 20 73 74 | 6f 72 69 6e 67 20 64 69 |e for st|oring di|
|00002bc0| 72 65 63 74 6f 72 69 65 | 73 20 61 6e 64 20 74 68 |rectorie|s and th|
|00002bd0| 65 69 72 20 72 65 73 70 | 65 63 74 69 76 65 20 66 |eir resp|ective f|
|00002be0| 69 6c 65 73 2e 1f 0a 28 | 64 65 66 76 61 72 20 61 |iles...(|defvar a|
|00002bf0| 6e 67 65 2d 66 74 70 2d | 66 69 6c 65 73 2d 68 61 |nge-ftp-|files-ha|
|00002c00| 73 68 74 61 62 6c 65 20 | 28 61 6e 67 65 2d 66 74 |shtable |(ange-ft|
|00002c10| 70 2d 6d 61 6b 65 2d 68 | 61 73 68 74 61 62 6c 65 |p-make-h|ashtable|
|00002c20| 20 39 37 29 20 28 23 24 | 20 2e 20 31 31 31 37 35 | 97) (#$| . 11175|
|00002c30| 29 29 0a 23 40 33 39 20 | 4c 61 73 74 20 73 65 74 |)).#@39 |Last set|
|00002c40| 20 6f 66 20 61 72 67 73 | 20 75 73 65 64 20 62 79 | of args| used by|
|00002c50| 20 61 6e 67 65 2d 66 74 | 70 2d 6c 73 2e 1f 0a 28 | ange-ft|p-ls...(|
|00002c60| 64 65 66 76 61 72 20 61 | 6e 67 65 2d 66 74 70 2d |defvar a|nge-ftp-|
|00002c70| 6c 73 2d 63 61 63 68 65 | 2d 6c 73 61 72 67 73 20 |ls-cache|-lsargs |
|00002c80| 6e 69 6c 20 28 23 24 20 | 2e 20 31 31 33 32 30 29 |nil (#$ |. 11320)|
|00002c90| 29 0a 23 40 33 34 20 4c | 61 73 74 20 66 69 6c 65 |).#@34 L|ast file|
|00002ca0| 20 70 61 73 73 65 64 20 | 74 6f 20 61 6e 67 65 2d | passed |to ange-|
|00002cb0| 66 74 70 2d 6c 73 2e 1f | 0a 28 64 65 66 76 61 72 |ftp-ls..|.(defvar|
|00002cc0| 20 61 6e 67 65 2d 66 74 | 70 2d 6c 73 2d 63 61 63 | ange-ft|p-ls-cac|
|00002cd0| 68 65 2d 66 69 6c 65 20 | 6e 69 6c 20 28 23 24 20 |he-file |nil (#$ |
|00002ce0| 2e 20 31 31 34 31 35 29 | 29 0a 23 40 34 30 20 4c |. 11415)|).#@40 L|
|00002cf0| 61 73 74 20 72 65 73 75 | 6c 74 20 72 65 74 75 72 |ast resu|lt retur|
|00002d00| 6e 65 64 20 66 72 6f 6d | 20 61 6e 67 65 2d 66 74 |ned from| ange-ft|
|00002d10| 70 2d 6c 73 2e 1f 0a 28 | 64 65 66 76 61 72 20 61 |p-ls...(|defvar a|
|00002d20| 6e 67 65 2d 66 74 70 2d | 6c 73 2d 63 61 63 68 65 |nge-ftp-|ls-cache|
|00002d30| 2d 72 65 73 20 6e 69 6c | 20 28 23 24 20 2e 20 31 |-res nil| (#$ . 1|
|00002d40| 31 35 30 33 29 29 0a 28 | 62 79 74 65 2d 63 6f 64 |1503)).(|byte-cod|
|00002d50| 65 20 22 c0 20 11 c1 5c | 6e 42 12 c3 14 c4 5c 6e |e ". ..\|nB....\n|
|00002d60| 42 12 c5 c6 21 84 16 00 | c7 16 06 c6 5c 6e 42 12 |B...!...|....\nB.|
|00002d70| c5 c8 21 84 23 00 c7 16 | 08 c8 5c 6e 42 12 c5 c9 |..!.#...|..\nB...|
|00002d80| 21 84 30 00 c7 16 09 c9 | 5c 6e 42 12 c5 ca 21 84 |!.0.....|\nB...!.|
|00002d90| 3d 00 c7 16 5c 6e ca 5c | 6e 42 12 c5 cb 21 84 4a |=...\n.\|nB...!.J|
|00002da0| 00 c7 16 0b cb 5c 6e 42 | 12 c5 cc 21 84 57 00 c7 |.....\nB|...!.W..|
|00002db0| 16 5c 66 cc 5c 6e 42 12 | c5 cd 21 84 64 00 c7 16 |.\f.\nB.|..!.d...|
|00002dc0| 0d cd 5c 6e 42 12 c5 ce | 21 84 71 00 c7 16 0e ce |..\nB...|!.q.....|
|00002dd0| 5c 6e 42 12 c5 cf 21 84 | 7e 00 c7 16 0f cf 5c 6e |\nB...!.|~.....\n|
|00002de0| 42 12 c5 d0 21 84 8b 00 | c7 16 10 d0 5c 6e 42 12 |B...!...|....\nB.|
|00002df0| c5 d1 21 84 98 00 c7 16 | 11 d1 5c 6e 42 12 d2 5c |..!.....|..\nB..\|
|00002e00| 6e 42 12 d3 5c 6e 42 12 | d4 5c 6e 42 12 d5 5c 6e |nB..\nB.|.\nB..\n|
|00002e10| 42 12 d6 5c 6e 42 12 d7 | 5c 6e 42 12 d8 5c 6e 42 |B..\nB..|\nB..\nB|
|00002e20| 12 d9 da db dc 23 87 22 | 20 5b 61 6e 67 65 2d 66 |.....#."| [ange-f|
|00002e30| 74 70 2d 6d 61 6b 65 2d | 68 61 73 68 74 61 62 6c |tp-make-|hashtabl|
|00002e40| 65 20 61 6e 67 65 2d 66 | 74 70 2d 65 78 70 61 6e |e ange-f|tp-expan|
|00002e50| 64 2d 64 69 72 2d 68 61 | 73 68 74 61 62 6c 65 20 |d-dir-ha|shtable |
|00002e60| 63 75 72 72 65 6e 74 2d | 6c 6f 61 64 2d 6c 69 73 |current-|load-lis|
|00002e70| 74 20 22 5e 35 2e 30 20 | 5c 5c 28 5b 5e 3a 20 5d |t "^5.0 |\\([^: ]|
|00002e80| 2b 5c 5c 29 3a 22 20 61 | 6e 67 65 2d 66 74 70 2d |+\\):" a|nge-ftp-|
|00002e90| 65 78 70 61 6e 64 2d 64 | 69 72 2d 72 65 67 65 78 |expand-d|ir-regex|
|00002ea0| 70 20 62 6f 75 6e 64 70 | 20 61 6e 67 65 2d 66 74 |p boundp| ange-ft|
|00002eb0| 70 2d 68 61 73 68 2d 6d | 61 72 6b 2d 75 6e 69 74 |p-hash-m|ark-unit|
|00002ec0| 20 6e 69 6c 20 61 6e 67 | 65 2d 66 74 70 2d 68 61 | nil ang|e-ftp-ha|
|00002ed0| 73 68 2d 6d 61 72 6b 2d | 63 6f 75 6e 74 20 61 6e |sh-mark-|count an|
|00002ee0| 67 65 2d 66 74 70 2d 78 | 66 65 72 2d 73 69 7a 65 |ge-ftp-x|fer-size|
|00002ef0| 20 61 6e 67 65 2d 66 74 | 70 2d 70 72 6f 63 65 73 | ange-ft|p-proces|
|00002f00| 73 2d 73 74 72 69 6e 67 | 20 61 6e 67 65 2d 66 74 |s-string| ange-ft|
|00002f10| 70 2d 70 72 6f 63 65 73 | 73 2d 72 65 73 75 6c 74 |p-proces|s-result|
|00002f20| 2d 6c 69 6e 65 20 61 6e | 67 65 2d 66 74 70 2d 70 |-line an|ge-ftp-p|
|00002f30| 72 6f 63 65 73 73 2d 62 | 75 73 79 20 61 6e 67 65 |rocess-b|usy ange|
|00002f40| 2d 66 74 70 2d 70 72 6f | 63 65 73 73 2d 72 65 73 |-ftp-pro|cess-res|
|00002f50| 75 6c 74 20 61 6e 67 65 | 2d 66 74 70 2d 70 72 6f |ult ange|-ftp-pro|
|00002f60| 63 65 73 73 2d 6d 75 6c | 74 69 2d 73 6b 69 70 20 |cess-mul|ti-skip |
|00002f70| 61 6e 67 65 2d 66 74 70 | 2d 70 72 6f 63 65 73 73 |ange-ftp|-process|
|00002f80| 2d 6d 73 67 20 61 6e 67 | 65 2d 66 74 70 2d 70 72 |-msg ang|e-ftp-pr|
|00002f90| 6f 63 65 73 73 2d 63 6f | 6e 74 69 6e 75 65 20 61 |ocess-co|ntinue a|
|00002fa0| 6e 67 65 2d 66 74 70 2d | 6c 61 73 74 2d 70 65 72 |nge-ftp-|last-per|
|00002fb0| 63 65 6e 74 20 61 6e 67 | 65 2d 66 74 70 2d 74 68 |cent ang|e-ftp-th|
|00002fc0| 69 73 2d 66 69 6c 65 20 | 61 6e 67 65 2d 66 74 70 |is-file |ange-ftp|
|00002fd0| 2d 74 68 69 73 2d 64 69 | 72 20 61 6e 67 65 2d 66 |-this-di|r ange-f|
|00002fe0| 74 70 2d 74 68 69 73 2d | 75 73 65 72 20 61 6e 67 |tp-this-|user ang|
|00002ff0| 65 2d 66 74 70 2d 74 68 | 69 73 2d 68 6f 73 74 20 |e-ftp-th|is-host |
|00003000| 61 6e 67 65 2d 66 74 70 | 2d 74 68 69 73 2d 6d 73 |ange-ftp|-this-ms|
|00003010| 67 20 61 6e 67 65 2d 66 | 74 70 2d 63 6f 6d 70 6c |g ange-f|tp-compl|
|00003020| 65 74 69 6f 6e 2d 69 67 | 6e 6f 72 65 64 2d 70 61 |etion-ig|nored-pa|
|00003030| 74 74 65 72 6e 20 61 6e | 67 65 2d 66 74 70 2d 74 |ttern an|ge-ftp-t|
|00003040| 72 61 6d 70 6c 65 2d 6d | 61 72 6b 65 72 20 70 75 |rample-m|arker pu|
|00003050| 74 20 66 74 70 2d 65 72 | 72 6f 72 20 65 72 72 6f |t ftp-er|ror erro|
|00003060| 72 2d 63 6f 6e 64 69 74 | 69 6f 6e 73 20 28 66 74 |r-condit|ions (ft|
|00003070| 70 2d 65 72 72 6f 72 20 | 66 69 6c 65 2d 65 72 72 |p-error |file-err|
|00003080| 6f 72 20 65 72 72 6f 72 | 29 5d 20 34 29 0a 23 40 |or error|)] 4).#@|
|00003090| 31 33 33 20 44 69 73 70 | 6c 61 79 20 6d 65 73 73 |133 Disp|lay mess|
|000030a0| 61 67 65 20 69 6e 20 65 | 63 68 6f 20 61 72 65 61 |age in e|cho area|
|000030b0| 2c 20 62 75 74 20 69 6e | 64 69 63 61 74 65 20 69 |, but in|dicate i|
|000030c0| 66 20 74 72 75 6e 63 61 | 74 65 64 2e 0a 41 72 67 |f trunca|ted..Arg|
|000030d0| 73 20 61 72 65 20 61 73 | 20 69 6e 20 60 6d 65 73 |s are as| in `mes|
|000030e0| 73 61 67 65 27 3a 20 61 | 20 66 6f 72 6d 61 74 20 |sage': a| format |
|000030f0| 73 74 72 69 6e 67 2c 20 | 70 6c 75 73 20 61 72 67 |string, |plus arg|
|00003100| 75 6d 65 6e 74 73 20 74 | 6f 20 62 65 20 66 6f 72 |uments t|o be for|
|00003110| 6d 61 74 74 65 64 2e 1f | 0a 28 64 65 66 61 6c 69 |matted..|.(defali|
|00003120| 61 73 20 27 61 6e 67 65 | 2d 66 74 70 2d 6d 65 73 |as 'ange|-ftp-mes|
|00003130| 73 61 67 65 20 23 5b 28 | 66 6d 74 20 26 72 65 73 |sage #[(|fmt &res|
|00003140| 74 20 61 72 67 73 29 20 | 22 c0 c1 5c 6e 0b 23 c4 |t args) |"..\n.#.|
|00003150| c5 20 21 1e 06 1e 07 0e | 08 83 17 00 0e 07 82 31 |. !.....|.......1|
|00003160| 00 0e 07 47 0e 06 59 83 | 2c 00 c9 0e 07 ca 0e 06 |...G..Y.|,.......|
|00003170| 5a cb 4f 50 16 07 cc cd | 0e 07 5c 22 2a 87 22 20 |Z.OP....|..\"*." |
|00003180| 5b 61 70 70 6c 79 20 66 | 6f 72 6d 61 74 20 66 6d |[apply f|ormat fm|
|00003190| 74 20 61 72 67 73 20 77 | 69 6e 64 6f 77 2d 77 69 |t args w|indow-wi|
|000031a0| 64 74 68 20 6d 69 6e 69 | 62 75 66 66 65 72 2d 77 |dth mini|buffer-w|
|000031b0| 69 6e 64 6f 77 20 6d 61 | 78 20 6d 73 67 20 6e 6f |indow ma|x msg no|
|000031c0| 6e 69 6e 74 65 72 61 63 | 74 69 76 65 20 22 3e 20 |ninterac|tive "> |
|000031d0| 22 20 33 20 6e 69 6c 20 | 6d 65 73 73 61 67 65 20 |" 3 nil |message |
|000031e0| 22 25 73 22 5d 20 34 20 | 28 23 24 20 2e 20 31 32 |"%s"] 4 |(#$ . 12|
|000031f0| 34 33 36 29 5d 29 0a 23 | 40 31 38 30 20 41 62 62 |436)]).#|@180 Abb|
|00003200| 72 65 76 69 61 74 65 20 | 74 68 65 20 66 69 6c 65 |reviate |the file|
|00003210| 20 6e 61 6d 65 20 46 49 | 4c 45 20 72 65 6c 61 74 | name FI|LE relat|
|00003220| 69 76 65 20 74 6f 20 74 | 68 65 20 64 65 66 61 75 |ive to t|he defau|
|00003230| 6c 74 2d 64 69 72 65 63 | 74 6f 72 79 2e 0a 49 66 |lt-direc|tory..If|
|00003240| 20 74 68 65 20 6f 70 74 | 69 6f 6e 61 6c 20 70 61 | the opt|ional pa|
|00003250| 72 61 6d 65 74 65 72 20 | 4e 45 57 20 69 73 20 67 |rameter |NEW is g|
|00003260| 69 76 65 6e 20 61 6e 64 | 20 74 68 65 20 6e 6f 6e |iven and| the non|
|00003270| 2d 64 69 72 65 63 74 6f | 72 79 20 70 61 72 74 73 |-directo|ry parts|
|00003280| 20 6d 61 74 63 68 2c 0a | 6f 6e 6c 79 20 72 65 74 | match,.|only ret|
|00003290| 75 72 6e 20 74 68 65 20 | 64 69 72 65 63 74 6f 72 |urn the |director|
|000032a0| 79 20 70 61 72 74 20 6f | 66 20 46 49 4c 45 2e 1f |y part o|f FILE..|
|000032b0| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 61 6e 67 65 |.(defali|as 'ange|
|000032c0| 2d 66 74 70 2d 61 62 62 | 72 65 76 69 61 74 65 2d |-ftp-abb|reviate-|
|000032d0| 66 69 6c 65 6e 61 6d 65 | 20 23 5b 28 66 69 6c 65 |filename| #[(file|
|000032e0| 20 26 6f 70 74 69 6f 6e | 61 6c 20 6e 65 77 29 20 | &option|al new) |
|000032f0| 22 c0 20 19 c2 8e 0b 83 | 1f 00 c4 c5 c6 0b 21 c7 |". .....|......!.|
|00003300| 51 0e 08 5c 22 83 1f 00 | 0e 08 c9 95 53 ca 4f 16 |Q..\"...|....S.O.|
|00003310| 08 0e 0b 83 36 00 cc 0e | 08 21 cc 0e 0b 21 98 83 |....6...|.!...!..|
|00003320| 36 00 cd 0e 08 21 16 08 | 0e 08 86 3c 00 ce 2a 87 |6....!..|...<..*.|
|00003330| 22 20 5b 6d 61 74 63 68 | 2d 64 61 74 61 20 6d 61 |" [match|-data ma|
|00003340| 74 63 68 2d 64 61 74 61 | 20 28 28 73 74 6f 72 65 |tch-data| ((store|
|00003350| 2d 6d 61 74 63 68 2d 64 | 61 74 61 20 6d 61 74 63 |-match-d|ata matc|
|00003360| 68 2d 64 61 74 61 29 29 | 20 64 65 66 61 75 6c 74 |h-data))| default|
|00003370| 2d 64 69 72 65 63 74 6f | 72 79 20 73 74 72 69 6e |-directo|ry strin|
|00003380| 67 2d 6d 61 74 63 68 20 | 22 5e 22 20 72 65 67 65 |g-match |"^" rege|
|00003390| 78 70 2d 71 75 6f 74 65 | 20 22 2e 22 20 66 69 6c |xp-quote| "." fil|
|000033a0| 65 20 30 20 6e 69 6c 20 | 6e 65 77 20 66 69 6c 65 |e 0 nil |new file|
|000033b0| 2d 6e 61 6d 65 2d 6e 6f | 6e 64 69 72 65 63 74 6f |-name-no|ndirecto|
|000033c0| 72 79 20 66 69 6c 65 2d | 6e 61 6d 65 2d 64 69 72 |ry file-|name-dir|
|000033d0| 65 63 74 6f 72 79 20 22 | 2e 2f 22 5d 20 34 20 28 |ectory "|./"] 4 (|
|000033e0| 23 24 20 2e 20 31 32 37 | 39 37 29 5d 29 0a 23 40 |#$ . 127|97)]).#@|
|000033f0| 35 31 20 46 6f 72 20 61 | 20 67 69 76 65 6e 20 48 |51 For a| given H|
|00003400| 4f 53 54 2c 20 73 65 74 | 20 6f 72 20 63 68 61 6e |OST, set| or chan|
|00003410| 67 65 20 74 68 65 20 64 | 65 66 61 75 6c 74 20 55 |ge the d|efault U|
|00003420| 53 45 52 2e 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 |SER...(d|efalias |
|00003430| 27 61 6e 67 65 2d 66 74 | 70 2d 73 65 74 2d 75 73 |'ange-ft|p-set-us|
|00003440| 65 72 20 23 5b 28 68 6f | 73 74 20 75 73 65 72 29 |er #[(ho|st user)|
|00003450| 20 22 c0 09 5c 6e 0b 23 | 87 22 20 5b 61 6e 67 65 | "..\n.#|." [ange|
|00003460| 2d 66 74 70 2d 70 75 74 | 2d 68 61 73 68 2d 65 6e |-ftp-put|-hash-en|
|00003470| 74 72 79 20 68 6f 73 74 | 20 75 73 65 72 20 61 6e |try host| user an|
|00003480| 67 65 2d 66 74 70 2d 75 | 73 65 72 2d 68 61 73 68 |ge-ftp-u|ser-hash|
|00003490| 74 61 62 6c 65 5d 20 34 | 20 28 23 24 20 2e 20 31 |table] 4| (#$ . 1|
|000034a0| 33 32 39 39 29 20 22 73 | 48 6f 73 74 3a 20 5c 6e |3299) "s|Host: \n|
|000034b0| 73 55 73 65 72 3a 20 22 | 5d 29 0a 23 40 34 30 20 |sUser: "|]).#@40 |
|000034c0| 47 69 76 65 6e 20 61 20 | 48 4f 53 54 2c 20 72 65 |Given a |HOST, re|
|000034d0| 74 75 72 6e 20 74 68 65 | 20 64 65 66 61 75 6c 74 |turn the| default|
|000034e0| 20 55 53 45 52 2e 1f 0a | 28 64 65 66 61 6c 69 61 | USER...|(defalia|
|000034f0| 73 20 27 61 6e 67 65 2d | 66 74 70 2d 67 65 74 2d |s 'ange-|ftp-get-|
|00003500| 75 73 65 72 20 23 5b 28 | 68 6f 73 74 29 20 22 c0 |user #[(|host) ".|
|00003510| 20 88 c1 5c 6e 0b 5c 22 | 89 1c 86 36 00 0d 3b 83 | ..\n.\"|...6..;.|
|00003520| 15 00 0d 82 2f 00 0d 83 | 28 00 c6 1e 07 c8 c9 ca |..../...|(.......|
|00003530| 5c 6e 5c 22 cb 20 5c 22 | 29 82 2f 00 0e 5c 66 86 |\n\". \"|)./..\f.|
|00003540| 2f 00 cb 20 89 14 cd 5c | 6e 5c 66 5c 22 88 29 87 |/.. ...\|n\f\".).|
|00003550| 22 20 5b 61 6e 67 65 2d | 66 74 70 2d 70 61 72 73 |" [ange-|ftp-pars|
|00003560| 65 2d 6e 65 74 72 63 20 | 61 6e 67 65 2d 66 74 70 |e-netrc |ange-ftp|
|00003570| 2d 67 65 74 2d 68 61 73 | 68 2d 65 6e 74 72 79 20 |-get-has|h-entry |
|00003580| 68 6f 73 74 20 61 6e 67 | 65 2d 66 74 70 2d 75 73 |host ang|e-ftp-us|
|00003590| 65 72 2d 68 61 73 68 74 | 61 62 6c 65 20 75 73 65 |er-hasht|able use|
|000035a0| 72 20 61 6e 67 65 2d 66 | 74 70 2d 64 65 66 61 75 |r ange-f|tp-defau|
|000035b0| 6c 74 2d 75 73 65 72 20 | 74 20 65 6e 61 62 6c 65 |lt-user |t enable|
|000035c0| 2d 72 65 63 75 72 73 69 | 76 65 2d 6d 69 6e 69 62 |-recursi|ve-minib|
|000035d0| 75 66 66 65 72 73 20 72 | 65 61 64 2d 73 74 72 69 |uffers r|ead-stri|
|000035e0| 6e 67 20 66 6f 72 6d 61 | 74 20 22 55 73 65 72 20 |ng forma|t "User |
|000035f0| 66 6f 72 20 25 73 3a 20 | 22 20 75 73 65 72 2d 6c |for %s: |" user-l|
|00003600| 6f 67 69 6e 2d 6e 61 6d | 65 20 61 6e 67 65 2d 66 |ogin-nam|e ange-f|
|00003610| 74 70 2d 6e 65 74 72 63 | 2d 64 65 66 61 75 6c 74 |tp-netrc|-default|
|00003620| 2d 75 73 65 72 20 61 6e | 67 65 2d 66 74 70 2d 73 |-user an|ge-ftp-s|
|00003630| 65 74 2d 75 73 65 72 5d | 20 35 20 28 23 24 20 2e |et-user]| 5 (#$ .|
|00003640| 20 31 33 35 30 34 29 5d | 29 0a 23 40 31 36 36 20 | 13504)]|).#@166 |
|00003650| 52 65 61 64 20 61 20 70 | 61 73 73 77 6f 72 64 2c |Read a p|assword,|
|00003660| 20 65 63 68 6f 69 6e 67 | 20 60 2e 27 20 66 6f 72 | echoing| `.' for|
|00003670| 20 65 61 63 68 20 63 68 | 61 72 61 63 74 65 72 20 | each ch|aracter |
|00003680| 74 79 70 65 64 2e 0a 45 | 6e 64 20 77 69 74 68 20 |typed..E|nd with |
|00003690| 52 45 54 2c 20 4c 46 44 | 2c 20 6f 72 20 45 53 43 |RET, LFD|, or ESC|
|000036a0| 2e 20 20 44 45 4c 20 6f | 72 20 43 2d 68 20 72 75 |. DEL o|r C-h ru|
|000036b0| 62 73 20 6f 75 74 2e 20 | 20 43 2d 75 20 6b 69 6c |bs out. | C-u kil|
|000036c0| 6c 73 20 6c 69 6e 65 2e | 0a 4f 70 74 69 6f 6e 61 |ls line.|.Optiona|
|000036d0| 6c 20 44 45 46 41 55 4c | 54 20 69 73 20 70 61 73 |l DEFAUL|T is pas|
|000036e0| 73 77 6f 72 64 20 74 6f | 20 73 74 61 72 74 20 77 |sword to| start w|
|000036f0| 69 74 68 2e 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 |ith...(d|efalias |
|00003700| 27 61 6e 67 65 2d 66 74 | 70 2d 72 65 61 64 2d 70 |'ange-ft|p-read-p|
|00003710| 61 73 73 77 64 20 23 5b | 28 70 72 6f 6d 70 74 20 |asswd #[|(prompt |
|00003720| 26 6f 70 74 69 6f 6e 61 | 6c 20 64 65 66 61 75 6c |&optiona|l defaul|
|00003730| 74 29 20 22 c0 c1 89 c2 | 1b 1c 1d 1e 06 c7 c8 0e |t) "....|........|
|00003740| 09 ca 0e 06 47 cb 5c 22 | 23 88 cc 20 89 15 cd 55 |....G.\"|#.. ...U|
|00003750| 84 5f 00 0d ce 55 84 5f | 00 0d cf 55 84 5f 00 0d |._...U._|...U._..|
|00003760| d0 55 83 36 00 d1 16 06 | 82 09 00 0d d2 55 84 4d |.U.6....|.....U.M|
|00003770| 00 0d d3 55 84 4d 00 0e | 06 d4 0d 21 50 16 06 82 |...U.M..|...!P...|
|00003780| 09 00 0e 06 47 c1 56 83 | 09 00 0e 06 c1 d5 4f 16 |....G.V.|......O.|
|00003790| 06 82 09 00 c7 d1 21 88 | d6 20 88 0e 06 86 71 00 |......!.|. ....q.|
|000037a0| 0e 17 86 71 00 d1 2c 87 | 22 20 5b 6e 69 6c 20 30 |...q..,.|" [nil 0|
|000037b0| 20 74 20 63 75 72 73 6f | 72 2d 69 6e 2d 65 63 68 | t curso|r-in-ech|
|000037c0| 6f 2d 61 72 65 61 20 65 | 63 68 6f 2d 6b 65 79 73 |o-area e|cho-keys|
|000037d0| 74 72 6f 6b 65 73 20 63 | 20 70 61 73 73 20 6d 65 |trokes c| pass me|
|000037e0| 73 73 61 67 65 20 22 25 | 73 25 73 22 20 70 72 6f |ssage "%|s%s" pro|
|000037f0| 6d 70 74 20 6d 61 6b 65 | 2d 73 74 72 69 6e 67 20 |mpt make|-string |
|00003800| 34 36 20 72 65 61 64 2d | 63 68 61 72 20 31 33 20 |46 read-|char 13 |
|00003810| 31 30 20 32 37 20 32 31 | 20 22 22 20 38 20 31 32 |10 27 21| "" 8 12|
|00003820| 37 20 63 68 61 72 2d 74 | 6f 2d 73 74 72 69 6e 67 |7 char-t|o-string|
|00003830| 20 2d 31 20 61 6e 67 65 | 2d 66 74 70 2d 72 65 70 | -1 ange|-ftp-rep|
|00003840| 61 69 6e 74 2d 6d 69 6e | 69 62 75 66 66 65 72 20 |aint-min|ibuffer |
|00003850| 64 65 66 61 75 6c 74 5d | 20 37 20 28 23 24 20 2e |default]| 7 (#$ .|
|00003860| 20 31 33 39 30 34 29 5d | 29 0a 28 64 65 66 61 6c | 13904)]|).(defal|
|00003870| 69 61 73 20 27 61 6e 67 | 65 2d 66 74 70 2d 67 65 |ias 'ang|e-ftp-ge|
|00003880| 6e 65 72 61 74 65 2d 70 | 61 73 73 77 64 2d 6b 65 |nerate-p|asswd-ke|
|00003890| 79 20 27 28 6d 61 63 72 | 6f 20 2e 20 23 5b 28 68 |y '(macr|o . #[(h|
|000038a0| 6f 73 74 20 75 73 65 72 | 29 20 22 c0 09 c2 0b 46 |ost user|) "....F|
|000038b0| 87 22 20 5b 63 6f 6e 63 | 61 74 20 68 6f 73 74 20 |." [conc|at host |
|000038c0| 22 2f 22 20 75 73 65 72 | 5d 20 34 5d 29 29 0a 28 |"/" user|] 4])).(|
|000038d0| 64 65 66 61 6c 69 61 73 | 20 27 61 6e 67 65 2d 66 |defalias| 'ange-f|
|000038e0| 74 70 2d 6c 6f 6f 6b 75 | 70 2d 70 61 73 73 77 64 |tp-looku|p-passwd|
|000038f0| 20 27 28 6d 61 63 72 6f | 20 2e 20 23 5b 28 68 6f | '(macro| . #[(ho|
|00003900| 73 74 20 75 73 65 72 29 | 20 22 c0 c1 5c 6e 0b 45 |st user)| "..\n.E|
|00003910| c4 42 42 87 22 20 5b 61 | 6e 67 65 2d 66 74 70 2d |.BB." [a|nge-ftp-|
|00003920| 67 65 74 2d 68 61 73 68 | 2d 65 6e 74 72 79 20 61 |get-hash|-entry a|
|00003930| 6e 67 65 2d 66 74 70 2d | 67 65 6e 65 72 61 74 65 |nge-ftp-|generate|
|00003940| 2d 70 61 73 73 77 64 2d | 6b 65 79 20 68 6f 73 74 |-passwd-|key host|
|00003950| 20 75 73 65 72 20 28 61 | 6e 67 65 2d 66 74 70 2d | user (a|nge-ftp-|
|00003960| 70 61 73 73 77 64 2d 68 | 61 73 68 74 61 62 6c 65 |passwd-h|ashtable|
|00003970| 29 5d 20 34 5d 29 29 0a | 23 40 36 37 20 46 6f 72 |)] 4])).|#@67 For|
|00003980| 20 61 20 67 69 76 65 6e | 20 48 4f 53 54 20 61 6e | a given| HOST an|
|00003990| 64 20 55 53 45 52 2c 20 | 73 65 74 20 6f 72 20 63 |d USER, |set or c|
|000039a0| 68 61 6e 67 65 20 74 68 | 65 20 61 73 73 6f 63 69 |hange th|e associ|
|000039b0| 61 74 65 64 20 50 41 53 | 53 57 4f 52 44 2e 1f 0a |ated PAS|SWORD...|
|000039c0| 28 64 65 66 61 6c 69 61 | 73 20 27 61 6e 67 65 2d |(defalia|s 'ange-|
|000039d0| 66 74 70 2d 73 65 74 2d | 70 61 73 73 77 64 20 23 |ftp-set-|passwd #|
|000039e0| 5b 28 68 6f 73 74 20 75 | 73 65 72 20 70 61 73 73 |[(host u|ser pass|
|000039f0| 77 64 29 20 22 c0 09 c2 | 0b 51 5c 66 0d 23 87 22 |wd) "...|.Q\f.#."|
|00003a00| 20 5b 61 6e 67 65 2d 66 | 74 70 2d 70 75 74 2d 68 | [ange-f|tp-put-h|
|00003a10| 61 73 68 2d 65 6e 74 72 | 79 20 68 6f 73 74 20 22 |ash-entr|y host "|
|00003a20| 2f 22 20 75 73 65 72 20 | 70 61 73 73 77 64 20 61 |/" user |passwd a|
|00003a30| 6e 67 65 2d 66 74 70 2d | 70 61 73 73 77 64 2d 68 |nge-ftp-|passwd-h|
|00003a40| 61 73 68 74 61 62 6c 65 | 5d 20 34 20 28 23 24 20 |ashtable|] 4 (#$ |
|00003a50| 2e 20 31 34 37 31 37 29 | 20 28 6c 69 73 74 20 28 |. 14717)| (list (|
|00003a60| 72 65 61 64 2d 73 74 72 | 69 6e 67 20 22 48 6f 73 |read-str|ing "Hos|
|00003a70| 74 3a 20 22 29 20 28 72 | 65 61 64 2d 73 74 72 69 |t: ") (r|ead-stri|
|00003a80| 6e 67 20 22 55 73 65 72 | 3a 20 22 29 20 28 61 6e |ng "User|: ") (an|
|00003a90| 67 65 2d 66 74 70 2d 72 | 65 61 64 2d 70 61 73 73 |ge-ftp-r|ead-pass|
|00003aa0| 77 64 20 22 50 61 73 73 | 77 6f 72 64 3a 20 22 29 |wd "Pass|word: ")|
|00003ab0| 29 5d 29 0a 23 40 35 35 | 20 47 69 76 65 6e 20 61 |)]).#@55| Given a|
|00003ac0| 20 55 53 45 52 2c 20 72 | 65 74 75 72 6e 20 61 20 | USER, r|eturn a |
|00003ad0| 68 6f 73 74 20 77 65 20 | 6b 6e 6f 77 20 74 68 65 |host we |know the|
|00003ae0| 20 70 61 73 73 77 6f 72 | 64 20 66 6f 72 2e 1f 0a | passwor|d for...|
|00003af0| 28 64 65 66 61 6c 69 61 | 73 20 27 61 6e 67 65 2d |(defalia|s 'ange-|
|00003b00| 66 74 70 2d 67 65 74 2d | 68 6f 73 74 2d 77 69 74 |ftp-get-|host-wit|
|00003b10| 68 2d 70 61 73 73 77 64 | 20 23 5b 28 75 73 65 72 |h-passwd| #[(user|
|00003b20| 29 20 22 c0 20 88 c1 c2 | 8d 87 22 20 5b 61 6e 67 |) ". ...|.." [ang|
|00003b30| 65 2d 66 74 70 2d 70 61 | 72 73 65 2d 6e 65 74 72 |e-ftp-pa|rse-netr|
|00003b40| 63 20 66 6f 75 6e 64 2d | 6f 6e 65 20 28 62 79 74 |c found-|one (byt|
|00003b50| 65 2d 63 6f 64 65 20 22 | c0 c1 5c 6e 5c 22 88 c3 |e-code "|..\n\"..|
|00003b60| 20 1c c5 8e c0 c6 0e 07 | 5c 22 88 2a c8 87 22 20 | .......|\".*.." |
|00003b70| 5b 61 6e 67 65 2d 66 74 | 70 2d 6d 61 70 2d 68 61 |[ange-ft|p-map-ha|
|00003b80| 73 68 74 61 62 6c 65 20 | 23 5b 28 68 6f 73 74 20 |shtable |#[(host |
|00003b90| 76 61 6c 29 20 22 c0 09 | c2 0b 51 5c 66 5c 22 85 |val) "..|..Q\f\".|
|00003ba0| 0e 00 c5 c6 09 5c 22 87 | 22 20 5b 61 6e 67 65 2d |.....\".|" [ange-|
|00003bb0| 66 74 70 2d 67 65 74 2d | 68 61 73 68 2d 65 6e 74 |ftp-get-|hash-ent|
|00003bc0| 72 79 20 68 6f 73 74 20 | 22 2f 22 20 75 73 65 72 |ry host |"/" user|
|00003bd0| 20 61 6e 67 65 2d 66 74 | 70 2d 70 61 73 73 77 64 | ange-ft|p-passwd|
|00003be0| 2d 68 61 73 68 74 61 62 | 6c 65 20 74 68 72 6f 77 |-hashtab|le throw|
|00003bf0| 20 66 6f 75 6e 64 2d 6f | 6e 65 5d 20 34 5d 20 61 | found-o|ne] 4] a|
|00003c00| 6e 67 65 2d 66 74 70 2d | 75 73 65 72 2d 68 61 73 |nge-ftp-|user-has|
|00003c10| 68 74 61 62 6c 65 20 6d | 61 74 63 68 2d 64 61 74 |htable m|atch-dat|
|00003c20| 61 20 6d 61 74 63 68 2d | 64 61 74 61 20 28 28 73 |a match-|data ((s|
|00003c30| 74 6f 72 65 2d 6d 61 74 | 63 68 2d 64 61 74 61 20 |tore-mat|ch-data |
|00003c40| 6d 61 74 63 68 2d 64 61 | 74 61 29 29 20 23 5b 28 |match-da|ta)) #[(|
|00003c50| 6b 65 79 20 76 61 6c 75 | 65 29 20 22 c0 c1 5c 6e |key valu|e) "..\n|
|00003c60| 5c 22 85 5c 22 00 5c 6e | c3 c4 94 4f 1d 0e 06 5c |\".\".\n|...O...\|
|00003c70| 6e c4 95 c7 4f 98 85 21 | 00 0e 08 85 21 00 c9 ca |n...O..!|....!...|
|00003c80| 0d 5c 22 29 87 22 20 5b | 73 74 72 69 6e 67 2d 6d |.\")." [|string-m|
|00003c90| 61 74 63 68 20 22 5e 5b | 5e 2f 5d 2a 5c 5c 28 2f |atch "^[|^/]*\\(/|
|00003ca0| 5c 5c 29 2e 2a 24 22 20 | 6b 65 79 20 30 20 31 20 |\\).*$" |key 0 1 |
|00003cb0| 68 6f 73 74 20 75 73 65 | 72 20 6e 69 6c 20 76 61 |host use|r nil va|
|00003cc0| 6c 75 65 20 74 68 72 6f | 77 20 66 6f 75 6e 64 2d |lue thro|w found-|
|00003cd0| 6f 6e 65 5d 20 34 5d 20 | 61 6e 67 65 2d 66 74 70 |one] 4] |ange-ftp|
|00003ce0| 2d 70 61 73 73 77 64 2d | 68 61 73 68 74 61 62 6c |-passwd-|hashtabl|
|00003cf0| 65 20 6e 69 6c 5d 20 33 | 29 5d 20 32 20 28 23 24 |e nil] 3|)] 2 (#$|
|00003d00| 20 2e 20 31 35 30 33 33 | 29 5d 29 0a 23 40 37 36 | . 15033|)]).#@76|
|00003d10| 20 52 65 74 75 72 6e 20 | 74 68 65 20 70 61 73 73 | Return |the pass|
|00003d20| 77 6f 72 64 20 66 6f 72 | 20 73 70 65 63 69 66 69 |word for| specifi|
|00003d30| 65 64 20 48 4f 53 54 20 | 61 6e 64 20 55 53 45 52 |ed HOST |and USER|
|00003d40| 2c 20 61 73 6b 69 6e 67 | 20 75 73 65 72 20 69 66 |, asking| user if|
|00003d50| 20 6e 65 63 65 73 73 61 | 72 79 2e 1f 0a 28 64 65 | necessa|ry...(de|
|00003d60| 66 61 6c 69 61 73 20 27 | 61 6e 67 65 2d 66 74 70 |falias '|ange-ftp|
|00003d70| 2d 67 65 74 2d 70 61 73 | 73 77 64 20 23 5b 28 68 |-get-pas|swd #[(h|
|00003d80| 6f 73 74 20 75 73 65 72 | 29 20 22 c0 20 88 c1 5c |ost user|) ". ..\|
|00003d90| 6e c3 5c 66 51 0d 5c 22 | 86 85 00 0e 06 3b 83 5c |n.\fQ.\"|.....;.\|
|00003da0| 22 00 0e 07 83 5c 22 00 | 5c 66 0e 06 98 83 5c 22 |"....\".|\f....\"|
|00003db0| 00 0e 07 87 0e 08 3b 83 | 37 00 0e 09 83 37 00 5c |......;.|7....7.\|
|00003dc0| 66 0e 08 98 83 37 00 0e | 09 87 5c 66 ca 98 84 43 |f....7..|..\f...C|
|00003dd0| 00 5c 66 cb 98 83 54 00 | 0e 5c 66 83 54 00 0e 5c |.\f...T.|.\f.T..\|
|00003de0| 66 3b 83 51 00 0e 5c 66 | 87 0e 0d 87 ce 5c 66 21 |f;.Q..\f|.....\f!|
|00003df0| 89 1e 0f 83 72 00 d0 d1 | d2 5c 66 5c 6e 5c 66 0e |....r...|.\f\n\f.|
|00003e00| 0f 25 c1 0e 0f c3 5c 66 | 51 0d 5c 22 5c 22 82 79 |.%....\f|Q.\"\".y|
|00003e10| 00 d0 d1 d3 5c 66 5c 6e | 23 21 1e 14 d5 5c 6e 5c |....\f\n|#!...\n\|
|00003e20| 66 0e 14 23 88 0e 14 2a | 87 22 20 5b 61 6e 67 65 |f..#...*|." [ange|
|00003e30| 2d 66 74 70 2d 70 61 72 | 73 65 2d 6e 65 74 72 63 |-ftp-par|se-netrc|
|00003e40| 20 61 6e 67 65 2d 66 74 | 70 2d 67 65 74 2d 68 61 | ange-ft|p-get-ha|
|00003e50| 73 68 2d 65 6e 74 72 79 | 20 68 6f 73 74 20 22 2f |sh-entry| host "/|
|00003e60| 22 20 75 73 65 72 20 61 | 6e 67 65 2d 66 74 70 2d |" user a|nge-ftp-|
|00003e70| 70 61 73 73 77 64 2d 68 | 61 73 68 74 61 62 6c 65 |passwd-h|ashtable|
|00003e80| 20 61 6e 67 65 2d 66 74 | 70 2d 64 65 66 61 75 6c | ange-ft|p-defaul|
|00003e90| 74 2d 75 73 65 72 20 61 | 6e 67 65 2d 66 74 70 2d |t-user a|nge-ftp-|
|00003ea0| 64 65 66 61 75 6c 74 2d | 70 61 73 73 77 6f 72 64 |default-|password|
|00003eb0| 20 61 6e 67 65 2d 66 74 | 70 2d 6e 65 74 72 63 2d | ange-ft|p-netrc-|
|00003ec0| 64 65 66 61 75 6c 74 2d | 75 73 65 72 20 61 6e 67 |default-|user ang|
|00003ed0| 65 2d 66 74 70 2d 6e 65 | 74 72 63 2d 64 65 66 61 |e-ftp-ne|trc-defa|
|00003ee0| 75 6c 74 2d 70 61 73 73 | 77 6f 72 64 20 22 61 6e |ult-pass|word "an|
|00003ef0| 6f 6e 79 6d 6f 75 73 22 | 20 22 66 74 70 22 20 61 |onymous"| "ftp" a|
|00003f00| 6e 67 65 2d 66 74 70 2d | 67 65 6e 65 72 61 74 65 |nge-ftp-|generate|
|00003f10| 2d 61 6e 6f 6e 79 6d 6f | 75 73 2d 70 61 73 73 77 |-anonymo|us-passw|
|00003f20| 6f 72 64 20 75 73 65 72 | 2d 6d 61 69 6c 2d 61 64 |ord user|-mail-ad|
|00003f30| 64 72 65 73 73 20 61 6e | 67 65 2d 66 74 70 2d 67 |dress an|ge-ftp-g|
|00003f40| 65 74 2d 68 6f 73 74 2d | 77 69 74 68 2d 70 61 73 |et-host-|with-pas|
|00003f50| 73 77 64 20 6f 74 68 65 | 72 20 61 6e 67 65 2d 66 |swd othe|r ange-f|
|00003f60| 74 70 2d 72 65 61 64 2d | 70 61 73 73 77 64 20 66 |tp-read-|passwd f|
|00003f70| 6f 72 6d 61 74 20 22 70 | 61 73 73 77 64 20 66 6f |ormat "p|asswd fo|
|00003f80| 72 20 25 73 40 25 73 20 | 28 64 65 66 61 75 6c 74 |r %s@%s |(default|
|00003f90| 20 73 61 6d 65 20 61 73 | 20 25 73 40 25 73 29 3a | same as| %s@%s):|
|00003fa0| 20 22 20 22 50 61 73 73 | 77 6f 72 64 20 66 6f 72 | " "Pass|word for|
|00003fb0| 20 25 73 40 25 73 3a 20 | 22 20 70 61 73 73 77 64 | %s@%s: |" passwd|
|00003fc0| 20 61 6e 67 65 2d 66 74 | 70 2d 73 65 74 2d 70 61 | ange-ft|p-set-pa|
|00003fd0| 73 73 77 64 5d 20 38 20 | 28 23 24 20 2e 20 31 35 |sswd] 8 |(#$ . 15|
|00003fe0| 36 33 33 29 5d 29 0a 23 | 40 37 35 20 46 6f 72 20 |633)]).#|@75 For |
|00003ff0| 61 20 67 69 76 65 6e 20 | 48 4f 53 54 20 61 6e 64 |a given |HOST and|
|00004000| 20 55 53 45 52 2c 20 73 | 65 74 20 6f 72 20 63 68 | USER, s|et or ch|
|00004010| 61 6e 67 65 20 74 68 65 | 20 61 73 73 6f 63 69 61 |ange the| associa|
|00004020| 74 65 64 20 41 43 43 4f | 55 4e 54 20 70 61 73 73 |ted ACCO|UNT pass|
|00004030| 77 6f 72 64 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |word...(|defalias|
|00004040| 20 27 61 6e 67 65 2d 66 | 74 70 2d 73 65 74 2d 61 | 'ange-f|tp-set-a|
|00004050| 63 63 6f 75 6e 74 20 23 | 5b 28 68 6f 73 74 20 75 |ccount #|[(host u|
|00004060| 73 65 72 20 61 63 63 6f | 75 6e 74 29 20 22 c0 09 |ser acco|unt) "..|
|00004070| c2 0b 51 5c 66 0d 23 87 | 22 20 5b 61 6e 67 65 2d |..Q\f.#.|" [ange-|
|00004080| 66 74 70 2d 70 75 74 2d | 68 61 73 68 2d 65 6e 74 |ftp-put-|hash-ent|
|00004090| 72 79 20 68 6f 73 74 20 | 22 2f 22 20 75 73 65 72 |ry host |"/" user|
|000040a0| 20 61 63 63 6f 75 6e 74 | 20 61 6e 67 65 2d 66 74 | account| ange-ft|
|000040b0| 70 2d 61 63 63 6f 75 6e | 74 2d 68 61 73 68 74 61 |p-accoun|t-hashta|
|000040c0| 62 6c 65 5d 20 34 20 28 | 23 24 20 2e 20 31 36 33 |ble] 4 (|#$ . 163|
|000040d0| 36 34 29 20 28 6c 69 73 | 74 20 28 72 65 61 64 2d |64) (lis|t (read-|
|000040e0| 73 74 72 69 6e 67 20 22 | 48 6f 73 74 3a 20 22 29 |string "|Host: ")|
|000040f0| 20 28 72 65 61 64 2d 73 | 74 72 69 6e 67 20 22 55 | (read-s|tring "U|
|00004100| 73 65 72 3a 20 22 29 20 | 28 61 6e 67 65 2d 66 74 |ser: ") |(ange-ft|
|00004110| 70 2d 72 65 61 64 2d 70 | 61 73 73 77 64 20 22 41 |p-read-p|asswd "A|
|00004120| 63 63 6f 75 6e 74 20 70 | 61 73 73 77 6f 72 64 3a |ccount p|assword:|
|00004130| 20 22 29 29 5d 29 0a 23 | 40 34 38 20 47 69 76 65 | "))]).#|@48 Give|
|00004140| 6e 20 61 20 48 4f 53 54 | 20 61 6e 64 20 55 53 45 |n a HOST| and USE|
|00004150| 52 2c 20 72 65 74 75 72 | 6e 20 74 68 65 20 46 54 |R, retur|n the FT|
|00004160| 50 20 61 63 63 6f 75 6e | 74 2e 1f 0a 28 64 65 66 |P accoun|t...(def|
|00004170| 61 6c 69 61 73 20 27 61 | 6e 67 65 2d 66 74 70 2d |alias 'a|nge-ftp-|
|00004180| 67 65 74 2d 61 63 63 6f | 75 6e 74 20 23 5b 28 68 |get-acco|unt #[(h|
|00004190| 6f 73 74 20 75 73 65 72 | 29 20 22 c0 20 88 c1 5c |ost user|) ". ..\|
|000041a0| 6e c3 5c 66 51 0d 5c 22 | 86 2e 00 0e 06 3b 83 1f |n.\fQ.\"|.....;..|
|000041b0| 00 5c 66 0e 06 98 83 1f | 00 0e 07 86 2e 00 0e 08 |.\f.....|........|
|000041c0| 3b 85 2e 00 5c 66 0e 08 | 98 85 2e 00 0e 09 87 22 |;...\f..|......."|
|000041d0| 20 5b 61 6e 67 65 2d 66 | 74 70 2d 70 61 72 73 65 | [ange-f|tp-parse|
|000041e0| 2d 6e 65 74 72 63 20 61 | 6e 67 65 2d 66 74 70 2d |-netrc a|nge-ftp-|
|000041f0| 67 65 74 2d 68 61 73 68 | 2d 65 6e 74 72 79 20 68 |get-hash|-entry h|
|00004200| 6f 73 74 20 22 2f 22 20 | 75 73 65 72 20 61 6e 67 |ost "/" |user ang|
|00004210| 65 2d 66 74 70 2d 61 63 | 63 6f 75 6e 74 2d 68 61 |e-ftp-ac|count-ha|
|00004220| 73 68 74 61 62 6c 65 20 | 61 6e 67 65 2d 66 74 70 |shtable |ange-ftp|
|00004230| 2d 64 65 66 61 75 6c 74 | 2d 75 73 65 72 20 61 6e |-default|-user an|
|00004240| 67 65 2d 66 74 70 2d 64 | 65 66 61 75 6c 74 2d 61 |ge-ftp-d|efault-a|
|00004250| 63 63 6f 75 6e 74 20 61 | 6e 67 65 2d 66 74 70 2d |ccount a|nge-ftp-|
|00004260| 6e 65 74 72 63 2d 64 65 | 66 61 75 6c 74 2d 75 73 |netrc-de|fault-us|
|00004270| 65 72 20 61 6e 67 65 2d | 66 74 70 2d 6e 65 74 72 |er ange-|ftp-netr|
|00004280| 63 2d 64 65 66 61 75 6c | 74 2d 61 63 63 6f 75 6e |c-defaul|t-accoun|
|00004290| 74 5d 20 34 20 28 23 24 | 20 2e 20 31 36 37 30 30 |t] 4 (#$| . 16700|
|000042a0| 29 5d 29 0a 23 40 37 33 | 20 52 65 74 75 72 6e 20 |)]).#@73| Return |
|000042b0| 74 68 65 20 66 69 6c 65 | 6e 61 6d 65 20 74 68 61 |the file|name tha|
|000042c0| 74 20 46 49 4c 45 20 72 | 65 66 65 72 65 6e 63 65 |t FILE r|eference|
|000042d0| 73 2c 20 66 6f 6c 6c 6f | 77 69 6e 67 20 61 6c 6c |s, follo|wing all|
|000042e0| 20 73 79 6d 62 6f 6c 69 | 63 20 6c 69 6e 6b 73 2e | symboli|c links.|
|000042f0| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 61 6e 67 |..(defal|ias 'ang|
|00004300| 65 2d 66 74 70 2d 63 68 | 61 73 65 2d 73 79 6d 6c |e-ftp-ch|ase-syml|
|00004310| 69 6e 6b 73 20 23 5b 28 | 66 69 6c 65 29 20 22 c0 |inks #[(|file) ".|
|00004320| 19 c2 0b 21 89 11 83 1d | 00 c4 09 21 83 14 00 09 |...!....|...!....|
|00004330| 82 19 00 c5 0b 21 09 50 | 13 82 02 00 29 0b 87 22 |.....!.P|....).."|
|00004340| 20 5b 6e 69 6c 20 74 65 | 6d 70 20 61 6e 67 65 2d | [nil te|mp ange-|
|00004350| 66 74 70 2d 72 65 61 6c | 2d 66 69 6c 65 2d 73 79 |ftp-real|-file-sy|
|00004360| 6d 6c 69 6e 6b 2d 70 20 | 66 69 6c 65 20 66 69 6c |mlink-p |file fil|
|00004370| 65 2d 6e 61 6d 65 2d 61 | 62 73 6f 6c 75 74 65 2d |e-name-a|bsolute-|
|00004380| 70 20 66 69 6c 65 2d 6e | 61 6d 65 2d 64 69 72 65 |p file-n|ame-dire|
|00004390| 63 74 6f 72 79 5d 20 32 | 20 28 23 24 20 2e 20 31 |ctory] 2| (#$ . 1|
|000043a0| 37 30 36 35 29 5d 29 0a | 28 64 65 66 61 6c 69 61 |7065)]).|(defalia|
|000043b0| 73 20 27 61 6e 67 65 2d | 66 74 70 2d 70 61 72 73 |s 'ange-|ftp-pars|
|000043c0| 65 2d 6e 65 74 72 63 2d | 74 6f 6b 65 6e 20 23 5b |e-netrc-|token #[|
|000043d0| 28 74 6f 6b 65 6e 20 6c | 69 6d 69 74 29 20 22 c0 |(token l|imit) ".|
|000043e0| 09 5c 6e c3 23 85 31 00 | c4 1d c6 5c 6e 77 88 67 |.\n.#.1.|...\nw.g|
|000043f0| c7 3d 83 27 00 c8 75 88 | 60 15 c9 5c 6e 77 88 c8 |.=.'..u.|`..\nw..|
|00004400| 75 88 0d 60 53 7b 82 30 | 00 60 15 ca 5c 6e 77 88 |u..`S{.0|.`..\nw.|
|00004410| 0d 60 7b 29 87 22 20 5b | 73 65 61 72 63 68 2d 66 |.`{)." [|search-f|
|00004420| 6f 72 77 61 72 64 20 74 | 6f 6b 65 6e 20 6c 69 6d |orward t|oken lim|
|00004430| 69 74 20 74 20 6e 69 6c | 20 62 65 67 20 22 2c 20 |it t nil| beg ", |
|00004440| 09 0d 5c 6e 22 20 33 34 | 20 31 20 22 5e 5c 22 22 |..\n" 34| 1 "^\""|
|00004450| 20 22 5e 2c 20 09 0d 5c | 6e 22 5d 20 34 5d 29 0a | "^, ..\|n"] 4]).|
|00004460| 28 64 65 66 61 6c 69 61 | 73 20 27 61 6e 67 65 2d |(defalia|s 'ange-|
|00004470| 66 74 70 2d 70 61 72 73 | 65 2d 6e 65 74 72 63 2d |ftp-pars|e-netrc-|
|00004480| 67 72 6f 75 70 20 23 5b | 6e 69 6c 20 22 60 8a c0 |group #[|nil "`..|
|00004490| c1 21 83 17 00 c2 c3 77 | 88 c4 c3 77 88 c2 c3 77 |.!.....w|...w...w|
|000044a0| 88 82 1b 00 c2 c3 77 88 | c5 c6 c3 c7 23 83 28 00 |......w.|....#.(.|
|000044b0| c8 94 82 29 00 64 29 c3 | 89 89 89 1e 09 1e 5c 6e |...).d).|......\n|
|000044c0| 1e 0b 1e 5c 66 1e 0d 1e | 0e cf d0 0e 0d 5c 22 16 |...\f...|.....\".|
|000044d0| 5c 66 cf d1 0e 0d 5c 22 | 16 0b cf d2 0e 0d 5c 22 |\f....\"|......\"|
|000044e0| 16 5c 6e cf d3 0e 0d 5c | 22 16 09 0e 5c 66 83 81 |.\n....\|"...\f..|
|000044f0| 00 0e 0b 83 81 00 d4 0e | 5c 66 0e 0b 5c 22 88 d5 |........|\f..\"..|
|00004500| 0e 5c 66 0e 0b 0e 5c 6e | 23 88 0e 09 83 be 00 d6 |.\f...\n|#.......|
|00004510| 0e 5c 66 0e 0b 0e 09 23 | 88 82 be 00 0e 0e 62 88 |.\f....#|......b.|
|00004520| d7 d8 0e 0d c7 23 83 be | 00 cf d1 0e 0d 5c 22 16 |.....#..|.....\".|
|00004530| 0b cf d2 0e 0d 5c 22 16 | 5c 6e cf d3 0e 0d 5c 22 |.....\".|\n....\"|
|00004540| 16 09 0e 0b 83 ac 00 0e | 0b 16 19 0e 5c 6e 83 b5 |........|....\n..|
|00004550| 00 0e 5c 6e 16 1a 0e 09 | 83 be 00 0e 09 16 1b 0e |..\n....|........|
|00004560| 0d 62 2e 06 87 22 20 5b | 6c 6f 6f 6b 69 6e 67 2d |.b..." [|looking-|
|00004570| 61 74 20 22 6d 61 63 68 | 69 6e 65 5c 5c 3e 22 20 |at "mach|ine\\>" |
|00004580| 22 5e 20 09 5c 6e 22 20 | 6e 69 6c 20 22 20 09 5c |"^ .\n" |nil " .\|
|00004590| 6e 22 20 72 65 2d 73 65 | 61 72 63 68 2d 66 6f 72 |n" re-se|arch-for|
|000045a0| 77 61 72 64 20 22 6d 61 | 63 68 69 6e 65 5c 5c 3e |ward "ma|chine\\>|
|000045b0| 5c 5c 7c 64 65 66 61 75 | 6c 74 5c 5c 3e 22 20 74 |\\|defau|lt\\>" t|
|000045c0| 20 30 20 61 63 63 6f 75 | 6e 74 20 70 61 73 73 77 | 0 accou|nt passw|
|000045d0| 6f 72 64 20 6c 6f 67 69 | 6e 20 6d 61 63 68 69 6e |ord logi|n machin|
|000045e0| 65 20 65 6e 64 20 73 74 | 61 72 74 20 61 6e 67 65 |e end st|art ange|
|000045f0| 2d 66 74 70 2d 70 61 72 | 73 65 2d 6e 65 74 72 63 |-ftp-par|se-netrc|
|00004600| 2d 74 6f 6b 65 6e 20 22 | 6d 61 63 68 69 6e 65 22 |-token "|machine"|
|00004610| 20 22 6c 6f 67 69 6e 22 | 20 22 70 61 73 73 77 6f | "login"| "passwo|
|00004620| 72 64 22 20 22 61 63 63 | 6f 75 6e 74 22 20 61 6e |rd" "acc|ount" an|
|00004630| 67 65 2d 66 74 70 2d 73 | 65 74 2d 75 73 65 72 20 |ge-ftp-s|et-user |
|00004640| 61 6e 67 65 2d 66 74 70 | 2d 73 65 74 2d 70 61 73 |ange-ftp|-set-pas|
|00004650| 73 77 64 20 61 6e 67 65 | 2d 66 74 70 2d 73 65 74 |swd ange|-ftp-set|
|00004660| 2d 61 63 63 6f 75 6e 74 | 20 73 65 61 72 63 68 2d |-account| search-|
|00004670| 66 6f 72 77 61 72 64 20 | 22 64 65 66 61 75 6c 74 |forward |"default|
|00004680| 22 20 61 6e 67 65 2d 66 | 74 70 2d 6e 65 74 72 63 |" ange-f|tp-netrc|
|00004690| 2d 64 65 66 61 75 6c 74 | 2d 75 73 65 72 20 61 6e |-default|-user an|
|000046a0| 67 65 2d 66 74 70 2d 6e | 65 74 72 63 2d 64 65 66 |ge-ftp-n|etrc-def|
|000046b0| 61 75 6c 74 2d 70 61 73 | 73 77 6f 72 64 20 61 6e |ault-pas|sword an|
|000046c0| 67 65 2d 66 74 70 2d 6e | 65 74 72 63 2d 64 65 66 |ge-ftp-n|etrc-def|
|000046d0| 61 75 6c 74 2d 61 63 63 | 6f 75 6e 74 5d 20 36 5d |ault-acc|ount] 6]|
|000046e0| 29 0a 28 64 65 66 61 6c | 69 61 73 20 27 61 6e 67 |).(defal|ias 'ang|
|000046f0| 65 2d 66 74 70 2d 70 61 | 72 73 65 2d 6e 65 74 72 |e-ftp-pa|rse-netr|
|00004700| 63 20 23 5b 6e 69 6c 20 | 22 c0 89 19 1a c3 1c c5 |c #[nil |".......|
|00004710| c6 0e 07 21 21 12 c8 5c | 6e 21 11 29 09 85 85 00 |...!!..\|n!.)....|
|00004720| c9 09 38 0e 5c 6e 9a 3f | 85 85 00 cb 20 1e 5c 66 |..8.\n.?|.... .\f|
|00004730| cd 8e 0e 0e 84 3d 00 cf | 09 38 d0 20 3d 83 74 00 |.....=..|.8. =.t.|
|00004740| d1 d2 d3 09 38 5c 22 83 | 74 00 8a d4 d5 21 71 88 |....8\".|t....!q.|
|00004750| d6 5c 6e 21 88 5c 6e 16 | 17 d8 5c 6e 21 14 d9 da |.\n!.\n.|..\n!...|
|00004760| 21 88 db dc 0e 1d 5c 22 | 88 c0 16 17 65 62 88 de |!.....\"|....eb..|
|00004770| c0 77 88 6d 84 6c 00 df | 20 88 82 62 00 e0 70 21 |.w.m.l..| ..b..p!|
|00004780| 88 29 82 7e 00 e1 e2 0e | 07 5c 22 88 e3 e4 21 88 |.).~....|.\"...!.|
|00004790| c9 09 38 89 16 5c 6e 2a | 2a 87 22 20 5b 6e 69 6c |..8..\n*|*." [nil|
|000047a0| 20 61 74 74 72 20 66 69 | 6c 65 20 22 2f 22 20 64 | attr fi|le "/" d|
|000047b0| 65 66 61 75 6c 74 2d 64 | 69 72 65 63 74 6f 72 79 |efault-d|irectory|
|000047c0| 20 61 6e 67 65 2d 66 74 | 70 2d 63 68 61 73 65 2d | ange-ft|p-chase-|
|000047d0| 73 79 6d 6c 69 6e 6b 73 | 20 61 6e 67 65 2d 66 74 |symlinks| ange-ft|
|000047e0| 70 2d 72 65 61 6c 2d 65 | 78 70 61 6e 64 2d 66 69 |p-real-e|xpand-fi|
|000047f0| 6c 65 2d 6e 61 6d 65 20 | 61 6e 67 65 2d 66 74 70 |le-name |ange-ftp|
|00004800| 2d 6e 65 74 72 63 2d 66 | 69 6c 65 6e 61 6d 65 20 |-netrc-f|ilename |
|00004810| 61 6e 67 65 2d 66 74 70 | 2d 72 65 61 6c 2d 66 69 |ange-ftp|-real-fi|
|00004820| 6c 65 2d 61 74 74 72 69 | 62 75 74 65 73 20 35 20 |le-attri|butes 5 |
|00004830| 61 6e 67 65 2d 66 74 70 | 2d 6e 65 74 72 63 2d 6d |ange-ftp|-netrc-m|
|00004840| 6f 64 74 69 6d 65 20 6d | 61 74 63 68 2d 64 61 74 |odtime m|atch-dat|
|00004850| 61 20 6d 61 74 63 68 2d | 64 61 74 61 20 28 28 73 |a match-|data ((s|
|00004860| 74 6f 72 65 2d 6d 61 74 | 63 68 2d 64 61 74 61 20 |tore-mat|ch-data |
|00004870| 6d 61 74 63 68 2d 64 61 | 74 61 29 29 20 61 6e 67 |match-da|ta)) ang|
|00004880| 65 2d 66 74 70 2d 64 69 | 73 61 62 6c 65 2d 6e 65 |e-ftp-di|sable-ne|
|00004890| 74 72 63 2d 73 65 63 75 | 72 69 74 79 2d 63 68 65 |trc-secu|rity-che|
|000048a0| 63 6b 20 32 20 75 73 65 | 72 2d 75 69 64 20 73 74 |ck 2 use|r-uid st|
|000048b0| 72 69 6e 67 2d 6d 61 74 | 63 68 20 22 2e 72 2e 2e |ring-mat|ch ".r..|
|000048c0| 2d 2d 2d 2d 2d 2d 22 20 | 38 20 67 65 6e 65 72 61 |------" |8 genera|
|000048d0| 74 65 2d 6e 65 77 2d 62 | 75 66 66 65 72 20 22 2a |te-new-b|uffer "*|
|000048e0| 66 74 70 2d 2e 6e 65 74 | 72 63 2a 22 20 61 6e 67 |ftp-.net|rc*" ang|
|000048f0| 65 2d 66 74 70 2d 72 65 | 61 6c 2d 69 6e 73 65 72 |e-ftp-re|al-inser|
|00004900| 74 2d 66 69 6c 65 2d 63 | 6f 6e 74 65 6e 74 73 20 |t-file-c|ontents |
|00004910| 62 75 66 66 65 72 2d 66 | 69 6c 65 2d 6e 61 6d 65 |buffer-f|ile-name|
|00004920| 20 66 69 6c 65 2d 6e 61 | 6d 65 2d 64 69 72 65 63 | file-na|me-direc|
|00004930| 74 6f 72 79 20 6e 6f 72 | 6d 61 6c 2d 6d 6f 64 65 |tory nor|mal-mode|
|00004940| 20 74 20 6d 61 70 63 61 | 72 20 66 75 6e 63 61 6c | t mapca|r funcal|
|00004950| 6c 20 66 69 6e 64 2d 66 | 69 6c 65 2d 68 6f 6f 6b |l find-f|ile-hook|
|00004960| 73 20 22 20 09 5c 6e 22 | 20 61 6e 67 65 2d 66 74 |s " .\n"| ange-ft|
|00004970| 70 2d 70 61 72 73 65 2d | 6e 65 74 72 63 2d 67 72 |p-parse-|netrc-gr|
|00004980| 6f 75 70 20 6b 69 6c 6c | 2d 62 75 66 66 65 72 20 |oup kill|-buffer |
|00004990| 61 6e 67 65 2d 66 74 70 | 2d 6d 65 73 73 61 67 65 |ange-ftp|-message|
|000049a0| 20 22 25 73 20 65 69 74 | 68 65 72 20 6e 6f 74 20 | "%s eit|her not |
|000049b0| 6f 77 6e 65 64 20 62 79 | 20 79 6f 75 20 6f 72 20 |owned by| you or |
|000049c0| 62 61 64 6c 79 20 70 72 | 6f 74 65 63 74 65 64 2e |badly pr|otected.|
|000049d0| 22 20 73 69 74 2d 66 6f | 72 20 31 5d 20 34 20 6e |" sit-fo|r 1] 4 n|
|000049e0| 69 6c 20 6e 69 6c 5d 29 | 0a 28 64 65 66 61 6c 69 |il nil])|.(defali|
|000049f0| 61 73 20 27 61 6e 67 65 | 2d 66 74 70 2d 67 65 6e |as 'ange|-ftp-gen|
|00004a00| 65 72 61 74 65 2d 72 6f | 6f 74 2d 70 72 65 66 69 |erate-ro|ot-prefi|
|00004a10| 78 65 73 20 23 5b 6e 69 | 6c 20 22 c0 20 88 c1 20 |xes #[ni|l ". .. |
|00004a20| 1a c3 8e c4 1d c6 c7 0e | 08 5c 22 88 c6 c9 0e 5c |........|.\"....\|
|00004a30| 6e 5c 22 88 0d 86 1c 00 | c4 43 2b 87 22 20 5b 61 |n\".....|.C+." [a|
|00004a40| 6e 67 65 2d 66 74 70 2d | 70 61 72 73 65 2d 6e 65 |nge-ftp-|parse-ne|
|00004a50| 74 72 63 20 6d 61 74 63 | 68 2d 64 61 74 61 20 6d |trc matc|h-data m|
|00004a60| 61 74 63 68 2d 64 61 74 | 61 20 28 28 73 74 6f 72 |atch-dat|a ((stor|
|00004a70| 65 2d 6d 61 74 63 68 2d | 64 61 74 61 20 6d 61 74 |e-match-|data mat|
|00004a80| 63 68 2d 64 61 74 61 29 | 29 20 6e 69 6c 20 72 65 |ch-data)|) nil re|
|00004a90| 73 20 61 6e 67 65 2d 66 | 74 70 2d 6d 61 70 2d 68 |s ange-f|tp-map-h|
|00004aa0| 61 73 68 74 61 62 6c 65 | 20 23 5b 28 6b 65 79 20 |ashtable| #[(key |
|00004ab0| 76 61 6c 75 65 29 20 22 | c0 c1 5c 6e 5c 22 85 24 |value) "|..\n\".$|
|00004ac0| 00 5c 6e c3 c4 94 4f 5c | 6e c4 95 c5 4f 1e 06 1e |.\n...O\|n...O...|
|00004ad0| 07 0e 06 c8 0e 07 c9 52 | 43 0e 5c 6e 42 89 16 5c |.......R|C.\nB..\|
|00004ae0| 6e 2a 87 22 20 5b 73 74 | 72 69 6e 67 2d 6d 61 74 |n*." [st|ring-mat|
|00004af0| 63 68 20 22 5e 5b 5e 2f | 5d 2a 5c 5c 28 2f 5c 5c |ch "^[^/|]*\\(/\\|
|00004b00| 29 2e 2a 24 22 20 6b 65 | 79 20 30 20 31 20 6e 69 |).*$" ke|y 0 1 ni|
|00004b10| 6c 20 75 73 65 72 20 68 | 6f 73 74 20 22 40 22 20 |l user h|ost "@" |
|00004b20| 22 3a 22 20 72 65 73 5d | 20 34 5d 20 61 6e 67 65 |":" res]| 4] ange|
|00004b30| 2d 66 74 70 2d 70 61 73 | 73 77 64 2d 68 61 73 68 |-ftp-pas|swd-hash|
|00004b40| 74 61 62 6c 65 20 23 5b | 28 68 6f 73 74 20 75 73 |table #[|(host us|
|00004b50| 65 72 29 20 22 08 c1 50 | 43 5c 6e 42 89 12 87 22 |er) "..P|C\nB..."|
|00004b60| 20 5b 68 6f 73 74 20 22 | 3a 22 20 72 65 73 5d 20 | [host "|:" res] |
|00004b70| 32 5d 20 61 6e 67 65 2d | 66 74 70 2d 75 73 65 72 |2] ange-|ftp-user|
|00004b80| 2d 68 61 73 68 74 61 62 | 6c 65 5d 20 33 5d 29 0a |-hashtab|le] 3]).|
|00004b90| 23 40 35 30 20 45 78 74 | 72 61 63 74 20 74 68 65 |#@50 Ext|ract the|
|00004ba0| 20 4e 74 68 20 66 74 70 | 20 66 69 6c 65 20 6e 61 | Nth ftp| file na|
|00004bb0| 6d 65 20 63 6f 6d 70 6f | 6e 65 6e 74 20 66 72 6f |me compo|nent fro|
|00004bc0| 6d 20 4e 53 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |m NS...(|defalias|
|00004bd0| 20 27 61 6e 67 65 2d 66 | 74 70 2d 66 74 70 2d 6e | 'ange-f|tp-ftp-n|
|00004be0| 61 6d 65 2d 63 6f 6d 70 | 6f 6e 65 6e 74 20 27 28 |ame-comp|onent '(|
|00004bf0| 6d 61 63 72 6f 20 2e 20 | 23 5b 28 6e 20 6e 73 20 |macro . |#[(n ns |
|00004c00| 6e 61 6d 65 29 20 22 c0 | c1 c2 0b 5c 66 45 44 43 |name) ".|...\fEDC|
|00004c10| c5 c6 c7 0e 08 c9 42 42 | 45 45 87 22 20 5b 6c 65 |......BB|EE." [le|
|00004c20| 74 20 65 6c 74 20 6e 74 | 68 20 6e 20 6e 73 20 69 |t elt nt|h n ns i|
|00004c30| 66 20 28 6d 61 74 63 68 | 2d 62 65 67 69 6e 6e 69 |f (match|-beginni|
|00004c40| 6e 67 20 65 6c 74 29 20 | 73 75 62 73 74 72 69 6e |ng elt) |substrin|
|00004c50| 67 20 6e 61 6d 65 20 28 | 28 6d 61 74 63 68 2d 62 |g name (|(match-b|
|00004c60| 65 67 69 6e 6e 69 6e 67 | 20 65 6c 74 29 20 28 6d |eginning| elt) (m|
|00004c70| 61 74 63 68 2d 65 6e 64 | 20 65 6c 74 29 29 5d 20 |atch-end| elt))] |
|00004c80| 37 20 28 23 24 20 2e 20 | 31 39 33 34 39 29 5d 29 |7 (#$ . |19349)])|
|00004c90| 29 0a 28 62 79 74 65 2d | 63 6f 64 65 20 22 c0 c1 |).(byte-|code "..|
|00004ca0| 21 84 08 00 c2 11 c1 0b | 42 13 c0 c4 21 84 14 00 |!.......|B...!...|
|00004cb0| c5 14 c4 0b 42 13 c5 87 | 22 20 5b 62 6f 75 6e 64 |....B...|" [bound|
|00004cc0| 70 20 61 6e 67 65 2d 66 | 74 70 2d 66 74 70 2d 6e |p ange-f|tp-ftp-n|
|00004cd0| 61 6d 65 2d 61 72 67 20 | 22 22 20 63 75 72 72 65 |ame-arg |"" curre|
|00004ce0| 6e 74 2d 6c 6f 61 64 2d | 6c 69 73 74 20 61 6e 67 |nt-load-|list ang|
|00004cf0| 65 2d 66 74 70 2d 66 74 | 70 2d 6e 61 6d 65 2d 72 |e-ftp-ft|p-name-r|
|00004d00| 65 73 20 6e 69 6c 5d 20 | 32 29 0a 28 64 65 66 61 |es nil] |2).(defa|
|00004d10| 6c 69 61 73 20 27 61 6e | 67 65 2d 66 74 70 2d 66 |lias 'an|ge-ftp-f|
|00004d20| 74 70 2d 6e 61 6d 65 20 | 23 5b 28 6e 61 6d 65 29 |tp-name |#[(name)|
|00004d30| 20 22 08 09 98 83 08 00 | 5c 6e 87 08 11 c3 20 1c | "......|\n.... .|
|00004d40| c5 8e c6 0e 07 40 08 5c | 22 85 71 00 0e 07 41 89 |.....@.\|".q...A.|
|00004d50| 1e 08 40 89 1e 09 94 85 | 2e 00 08 0e 09 94 0e 09 |..@.....|........|
|00004d60| 95 4f 29 1e 5c 6e 0e 08 | 41 40 89 1e 09 94 85 44 |.O).\n..|A@.....D|
|00004d70| 00 08 0e 09 94 0e 09 95 | 4f 29 1e 0b cc 0e 08 38 |........|O).....8|
|00004d80| 89 1e 09 94 85 5a 00 08 | 0e 09 94 0e 09 95 4f 29 |.....Z..|......O)|
|00004d90| 18 0e 0b 47 cd 55 83 6a | 00 ce 0e 5c 6e 21 16 0b |...G.U.j|...\n!..|
|00004da0| 0e 5c 6e 0e 0b 08 45 2c | 2a 89 12 87 22 20 5b 6e |.\n...E,|*..." [n|
|00004db0| 61 6d 65 20 61 6e 67 65 | 2d 66 74 70 2d 66 74 70 |ame ange|-ftp-ftp|
|00004dc0| 2d 6e 61 6d 65 2d 61 72 | 67 20 61 6e 67 65 2d 66 |-name-ar|g ange-f|
|00004dd0| 74 70 2d 66 74 70 2d 6e | 61 6d 65 2d 72 65 73 20 |tp-ftp-n|ame-res |
|00004de0| 6d 61 74 63 68 2d 64 61 | 74 61 20 6d 61 74 63 68 |match-da|ta match|
|00004df0| 2d 64 61 74 61 20 28 28 | 73 74 6f 72 65 2d 6d 61 |-data ((|store-ma|
|00004e00| 74 63 68 2d 64 61 74 61 | 20 6d 61 74 63 68 2d 64 |tch-data| match-d|
|00004e10| 61 74 61 29 29 20 70 6f | 73 69 78 2d 73 74 72 69 |ata)) po|six-stri|
|00004e20| 6e 67 2d 6d 61 74 63 68 | 20 61 6e 67 65 2d 66 74 |ng-match| ange-ft|
|00004e30| 70 2d 6e 61 6d 65 2d 66 | 6f 72 6d 61 74 20 6e 73 |p-name-f|ormat ns|
|00004e40| 20 65 6c 74 20 68 6f 73 | 74 20 75 73 65 72 20 32 | elt hos|t user 2|
|00004e50| 20 30 20 61 6e 67 65 2d | 66 74 70 2d 67 65 74 2d | 0 ange-|ftp-get-|
|00004e60| 75 73 65 72 5d 20 34 5d | 29 0a 28 64 65 66 61 6c |user] 4]|).(defal|
|00004e70| 69 61 73 20 27 61 6e 67 | 65 2d 66 74 70 2d 72 65 |ias 'ang|e-ftp-re|
|00004e80| 70 6c 61 63 65 2d 6e 61 | 6d 65 2d 63 6f 6d 70 6f |place-na|me-compo|
|00004e90| 6e 65 6e 74 20 23 5b 28 | 66 75 6c 6c 6e 61 6d 65 |nent #[(|fullname|
|00004ea0| 20 6e 61 6d 65 29 20 22 | c0 20 19 c2 8e c3 5c 66 | name) "|. ....\f|
|00004eb0| 40 0d 5c 22 85 27 00 5c | 66 41 1e 06 c7 0e 06 38 |@.\".'.\|fA.....8|
|00004ec0| 1e 08 0d c9 0e 08 94 4f | 0e 5c 6e 0d 0e 08 95 cb |.......O|.\n.....|
|00004ed0| 4f 51 2a 2a 87 22 20 5b | 6d 61 74 63 68 2d 64 61 |OQ**." [|match-da|
|00004ee0| 74 61 20 6d 61 74 63 68 | 2d 64 61 74 61 20 28 28 |ta match|-data ((|
|00004ef0| 73 74 6f 72 65 2d 6d 61 | 74 63 68 2d 64 61 74 61 |store-ma|tch-data|
|00004f00| 20 6d 61 74 63 68 2d 64 | 61 74 61 29 29 20 70 6f | match-d|ata)) po|
|00004f10| 73 69 78 2d 73 74 72 69 | 6e 67 2d 6d 61 74 63 68 |six-stri|ng-match|
|00004f20| 20 61 6e 67 65 2d 66 74 | 70 2d 6e 61 6d 65 2d 66 | ange-ft|p-name-f|
|00004f30| 6f 72 6d 61 74 20 66 75 | 6c 6c 6e 61 6d 65 20 6e |ormat fu|llname n|
|00004f40| 73 20 32 20 65 6c 74 20 | 30 20 6e 61 6d 65 20 6e |s 2 elt |0 name n|
|00004f50| 69 6c 5d 20 35 5d 29 0a | 23 40 37 34 20 43 6c 65 |il] 5]).|#@74 Cle|
|00004f60| 61 72 20 61 6e 79 20 65 | 78 69 73 74 69 6e 67 20 |ar any e|xisting |
|00004f70| 6d 69 6e 69 62 75 66 66 | 65 72 20 6d 65 73 73 61 |minibuff|er messa|
|00004f80| 67 65 3b 20 6c 65 74 20 | 74 68 65 20 6d 69 6e 69 |ge; let |the mini|
|00004f90| 62 75 66 66 65 72 20 63 | 6f 6e 74 65 6e 74 73 20 |buffer c|ontents |
|00004fa0| 73 68 6f 77 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |show...(|defalias|
|00004fb0| 20 27 61 6e 67 65 2d 66 | 74 70 2d 72 65 70 61 69 | 'ange-f|tp-repai|
|00004fc0| 6e 74 2d 6d 69 6e 69 62 | 75 66 66 65 72 20 23 5b |nt-minib|uffer #[|
|00004fd0| 6e 69 6c 20 22 c0 c1 21 | 87 22 20 5b 6d 65 73 73 |nil "..!|." [mess|
|00004fe0| 61 67 65 20 6e 69 6c 5d | 20 32 20 28 23 24 20 2e |age nil]| 2 (#$ .|
|00004ff0| 20 32 30 33 31 37 29 5d | 29 0a 28 64 65 66 61 6c | 20317)]|).(defal|
|00005000| 69 61 73 20 27 61 6e 67 | 65 2d 66 74 70 2d 66 74 |ias 'ang|e-ftp-ft|
|00005010| 70 2d 70 72 6f 63 65 73 | 73 2d 62 75 66 66 65 72 |p-proces|s-buffer|
|00005020| 20 23 5b 28 68 6f 73 74 | 20 75 73 65 72 29 20 22 | #[(host| user) "|
|00005030| c0 09 c2 0b c4 b0 05 87 | 22 20 5b 22 2a 66 74 70 |........|" ["*ftp|
|00005040| 20 22 20 75 73 65 72 20 | 22 40 22 20 68 6f 73 74 | " user |"@" host|
|00005050| 20 22 2a 22 5d 20 35 5d | 29 0a 28 64 65 66 61 6c | "*"] 5]|).(defal|
|00005060| 69 61 73 20 27 61 6e 67 | 65 2d 66 74 70 2d 65 72 |ias 'ang|e-ftp-er|
|00005070| 72 6f 72 20 23 5b 28 68 | 6f 73 74 20 75 73 65 72 |ror #[(h|ost user|
|00005080| 20 6d 73 67 29 20 22 c0 | 20 c1 1a 1b c4 c5 c6 0e | msg) ".| .......|
|00005090| 07 0e 08 5c 22 21 21 88 | 64 62 88 c9 0b 21 88 2a |...\"!!.|db...!.*|
|000050a0| ca cb cc cd 0e 0e 5c 22 | 43 5c 22 87 22 20 5b 73 |......\"|C\"." [s|
|000050b0| 65 6c 65 63 74 65 64 2d | 77 69 6e 64 6f 77 20 74 |elected-|window t|
|000050c0| 20 70 6f 70 2d 75 70 2d | 77 69 6e 64 6f 77 73 20 | pop-up-|windows |
|000050d0| 63 75 72 20 70 6f 70 2d | 74 6f 2d 62 75 66 66 65 |cur pop-|to-buffe|
|000050e0| 72 20 67 65 74 2d 62 75 | 66 66 65 72 2d 63 72 65 |r get-bu|ffer-cre|
|000050f0| 61 74 65 20 61 6e 67 65 | 2d 66 74 70 2d 66 74 70 |ate ange|-ftp-ftp|
|00005100| 2d 70 72 6f 63 65 73 73 | 2d 62 75 66 66 65 72 20 |-process|-buffer |
|00005110| 68 6f 73 74 20 75 73 65 | 72 20 73 65 6c 65 63 74 |host use|r select|
|00005120| 2d 77 69 6e 64 6f 77 20 | 73 69 67 6e 61 6c 20 66 |-window |signal f|
|00005130| 74 70 2d 65 72 72 6f 72 | 20 66 6f 72 6d 61 74 20 |tp-error| format |
|00005140| 22 46 54 50 20 45 72 72 | 6f 72 3a 20 25 73 22 20 |"FTP Err|or: %s" |
|00005150| 6d 73 67 5d 20 35 5d 29 | 0a 23 40 36 39 20 53 65 |msg] 5])|.#@69 Se|
|00005160| 74 20 63 6f 72 72 65 63 | 74 20 6d 6f 64 65 73 20 |t correc|t modes |
|00005170| 66 6f 72 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |for the |current |
|00005180| 62 75 66 66 65 72 20 69 | 66 20 76 69 73 69 74 69 |buffer i|f visiti|
|00005190| 6e 67 20 61 20 72 65 6d | 6f 74 65 20 66 69 6c 65 |ng a rem|ote file|
|000051a0| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 61 6e |...(defa|lias 'an|
|000051b0| 67 65 2d 66 74 70 2d 73 | 65 74 2d 62 75 66 66 65 |ge-ftp-s|et-buffe|
|000051c0| 72 2d 6d 6f 64 65 20 23 | 5b 6e 69 6c 20 22 08 3b |r-mode #|[nil ".;|
|000051d0| 85 0e 00 c1 08 21 85 0e | 00 c2 0b 21 87 22 20 5b |.....!..|...!." [|
|000051e0| 62 75 66 66 65 72 2d 66 | 69 6c 65 2d 6e 61 6d 65 |buffer-f|ile-name|
|000051f0| 20 61 6e 67 65 2d 66 74 | 70 2d 66 74 70 2d 6e 61 | ange-ft|p-ftp-na|
|00005200| 6d 65 20 61 75 74 6f 2d | 73 61 76 65 2d 6d 6f 64 |me auto-|save-mod|
|00005210| 65 20 61 6e 67 65 2d 66 | 74 70 2d 61 75 74 6f 2d |e ange-f|tp-auto-|
|00005220| 73 61 76 65 5d 20 32 20 | 28 23 24 20 2e 20 32 30 |save] 2 |(#$ . 20|
|00005230| 38 33 30 29 5d 29 0a 23 | 40 31 38 33 20 4b 69 6c |830)]).#|@183 Kil|
|00005240| 6c 20 74 68 65 20 46 54 | 50 20 70 72 6f 63 65 73 |l the FT|P proces|
|00005250| 73 20 61 73 73 6f 63 69 | 61 74 65 64 20 77 69 74 |s associ|ated wit|
|00005260| 68 20 42 55 46 46 45 52 | 20 28 74 68 65 20 63 75 |h BUFFER| (the cu|
|00005270| 72 72 65 6e 74 20 62 75 | 66 66 65 72 2c 20 69 66 |rrent bu|ffer, if|
|00005280| 20 6e 69 6c 29 2e 0a 49 | 66 20 74 68 65 20 42 55 | nil)..I|f the BU|
|00005290| 46 46 45 52 27 73 20 76 | 69 73 69 74 65 64 20 66 |FFER's v|isited f|
|000052a0| 69 6c 65 6e 61 6d 65 20 | 6f 72 20 64 65 66 61 75 |ilename |or defau|
|000052b0| 6c 74 2d 64 69 72 65 63 | 74 6f 72 79 20 69 73 20 |lt-direc|tory is |
|000052c0| 61 6e 20 66 74 70 20 66 | 69 6c 65 6e 61 6d 65 0a |an ftp f|ilename.|
|000052d0| 74 68 65 6e 20 6b 69 6c | 6c 20 74 68 65 20 72 65 |then kil|l the re|
|000052e0| 6c 61 74 65 64 20 66 74 | 70 20 70 72 6f 63 65 73 |lated ft|p proces|
|000052f0| 73 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 61 |s...(def|alias 'a|
|00005300| 6e 67 65 2d 66 74 70 2d | 6b 69 6c 6c 2d 66 74 70 |nge-ftp-|kill-ftp|
|00005310| 2d 70 72 6f 63 65 73 73 | 20 23 5b 28 26 6f 70 74 |-process| #[(&opt|
|00005320| 69 6f 6e 61 6c 20 62 75 | 66 66 65 72 29 20 22 08 |ional bu|ffer) ".|
|00005330| 84 06 00 70 10 c1 08 21 | 86 12 00 8a 08 71 88 5c |...p...!|.....q.\|
|00005340| 6e 29 89 1b 85 37 00 c4 | c5 0b 21 21 89 1e 06 85 |n)...7..|..!!....|
|00005350| 36 00 0e 06 40 0e 06 41 | 40 1e 07 1e 08 c9 ca 0e |6...@..A|@.......|
|00005360| 08 0e 07 5c 22 21 2a 29 | 29 87 22 20 5b 62 75 66 |...\"!*)|)." [buf|
|00005370| 66 65 72 20 62 75 66 66 | 65 72 2d 66 69 6c 65 2d |fer buff|er-file-|
|00005380| 6e 61 6d 65 20 64 65 66 | 61 75 6c 74 2d 64 69 72 |name def|ault-dir|
|00005390| 65 63 74 6f 72 79 20 66 | 69 6c 65 20 61 6e 67 65 |ectory f|ile ange|
|000053a0| 2d 66 74 70 2d 66 74 70 | 2d 6e 61 6d 65 20 65 78 |-ftp-ftp|-name ex|
|000053b0| 70 61 6e 64 2d 66 69 6c | 65 2d 6e 61 6d 65 20 70 |pand-fil|e-name p|
|000053c0| 61 72 73 65 64 20 75 73 | 65 72 20 68 6f 73 74 20 |arsed us|er host |
|000053d0| 6b 69 6c 6c 2d 62 75 66 | 66 65 72 20 61 6e 67 65 |kill-buf|fer ange|
|000053e0| 2d 66 74 70 2d 66 74 70 | 2d 70 72 6f 63 65 73 73 |-ftp-ftp|-process|
|000053f0| 2d 62 75 66 66 65 72 5d | 20 35 20 28 23 24 20 2e |-buffer]| 5 (#$ .|
|00005400| 20 32 31 30 35 33 29 20 | 22 62 4b 69 6c 6c 20 46 | 21053) |"bKill F|
|00005410| 54 50 20 70 72 6f 63 65 | 73 73 20 61 73 73 6f 63 |TP proce|ss assoc|
|00005420| 69 61 74 65 64 20 77 69 | 74 68 20 62 75 66 66 65 |iated wi|th buffe|
|00005430| 72 3a 20 22 5d 29 0a 23 | 40 36 36 20 51 75 6f 74 |r: "]).#|@66 Quot|
|00005440| 65 20 61 6e 79 20 63 68 | 61 72 61 63 74 65 72 73 |e any ch|aracters|
|00005450| 20 69 6e 20 53 54 52 49 | 4e 47 20 74 68 61 74 20 | in STRI|NG that |
|00005460| 6d 61 79 20 63 6f 6e 66 | 75 73 65 20 74 68 65 20 |may conf|use the |
|00005470| 66 74 70 20 70 72 6f 63 | 65 73 73 2e 1f 0a 28 64 |ftp proc|ess...(d|
|00005480| 65 66 61 6c 69 61 73 20 | 27 61 6e 67 65 2d 66 74 |efalias |'ange-ft|
|00005490| 70 2d 71 75 6f 74 65 2d | 73 74 72 69 6e 67 20 23 |p-quote-|string #|
|000054a0| 5b 28 73 74 72 69 6e 67 | 29 20 22 c0 c1 c2 c3 5c |[(string|) "....\|
|000054b0| 66 5c 22 5c 22 87 22 20 | 5b 61 70 70 6c 79 20 63 |f\"\"." |[apply c|
|000054c0| 6f 6e 63 61 74 20 6d 61 | 70 63 61 72 20 23 5b 28 |oncat ma|pcar #[(|
|000054d0| 63 68 61 72 29 20 22 08 | c1 58 84 18 00 08 c2 56 |char) ".|.X.....V|
|000054e0| 84 18 00 08 c3 55 84 18 | 00 08 c4 55 83 1d 00 c5 |.....U..|...U....|
|000054f0| c4 08 5c 22 87 c5 08 21 | 87 22 20 5b 63 68 61 72 |..\"...!|." [char|
|00005500| 20 33 32 20 31 32 36 20 | 33 34 20 39 32 20 76 65 | 32 126 |34 92 ve|
|00005510| 63 74 6f 72 5d 20 33 5d | 20 73 74 72 69 6e 67 5d |ctor] 3]| string]|
|00005520| 20 35 20 28 23 24 20 2e | 20 32 31 35 36 34 29 5d | 5 (#$ .| 21564)]|
|00005530| 29 0a 28 64 65 66 61 6c | 69 61 73 20 27 61 6e 67 |).(defal|ias 'ang|
|00005540| 65 2d 66 74 70 2d 62 61 | 72 66 2d 69 66 2d 6e 6f |e-ftp-ba|rf-if-no|
|00005550| 74 2d 64 69 72 65 63 74 | 6f 72 79 20 23 5b 28 64 |t-direct|ory #[(d|
|00005560| 69 72 65 63 74 6f 72 79 | 29 20 22 c0 09 21 86 17 |irectory|) "..!..|
|00005570| 00 c2 c3 c4 c5 09 21 83 | 13 00 c6 82 14 00 c7 09 |......!.|........|
|00005580| 45 5c 22 87 22 20 5b 66 | 69 6c 65 2d 64 69 72 65 |E\"." [f|ile-dire|
|00005590| 63 74 6f 72 79 2d 70 20 | 64 69 72 65 63 74 6f 72 |ctory-p |director|
|000055a0| 79 20 73 69 67 6e 61 6c | 20 66 69 6c 65 2d 65 72 |y signal| file-er|
|000055b0| 72 6f 72 20 22 4f 70 65 | 6e 69 6e 67 20 64 69 72 |ror "Ope|ning dir|
|000055c0| 65 63 74 6f 72 79 22 20 | 66 69 6c 65 2d 65 78 69 |ectory" |file-exi|
|000055d0| 73 74 73 2d 70 20 22 6e | 6f 74 20 61 20 64 69 72 |sts-p "n|ot a dir|
|000055e0| 65 63 74 6f 72 79 22 20 | 22 6e 6f 20 73 75 63 68 |ectory" |"no such|
|000055f0| 20 66 69 6c 65 20 6f 72 | 20 64 69 72 65 63 74 6f | file or| directo|
|00005600| 72 79 22 5d 20 35 5d 29 | 0a 23 40 31 33 32 20 4c |ry"] 5])|.#@132 L|
|00005610| 6f 6f 6b 20 61 74 20 74 | 68 65 20 67 69 76 65 6e |ook at t|he given|
|00005620| 20 4c 49 4e 45 20 66 72 | 6f 6d 20 74 68 65 20 66 | LINE fr|om the f|
|00005630| 74 70 20 70 72 6f 63 65 | 73 73 20 50 52 4f 43 2e |tp proce|ss PROC.|
|00005640| 0a 54 72 79 20 74 6f 20 | 63 61 74 65 67 6f 72 69 |.Try to |categori|
|00005650| 7a 65 20 69 74 20 69 6e | 74 6f 20 6f 6e 65 20 6f |ze it in|to one o|
|00005660| 66 20 66 6f 75 72 20 63 | 61 74 65 67 6f 72 69 65 |f four c|ategorie|
|00005670| 73 3a 0a 67 6f 6f 64 2c | 20 73 6b 69 70 2c 20 66 |s:.good,| skip, f|
|00005680| 61 74 61 6c 2c 20 6f 72 | 20 75 6e 6b 6e 6f 77 6e |atal, or| unknown|
|00005690| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 61 6e |...(defa|lias 'an|
|000056a0| 67 65 2d 66 74 70 2d 70 | 72 6f 63 65 73 73 2d 68 |ge-ftp-p|rocess-h|
|000056b0| 61 6e 64 6c 65 2d 6c 69 | 6e 65 20 23 5b 28 6c 69 |andle-li|ne #[(li|
|000056c0| 6e 65 20 70 72 6f 63 29 | 20 22 c0 09 5c 6e 5c 22 |ne proc)| "..\n\"|
|000056d0| 83 16 00 c3 c4 5c 6e c5 | 94 c5 95 4f 21 c6 5c 22 |.....\n.|...O!.\"|
|000056e0| 89 16 07 87 c0 0e 08 5c | 6e 5c 22 83 20 00 c9 87 |.......\|n\". ...|
|000056f0| c0 0e 5c 6e 5c 6e 5c 22 | 83 33 00 cb 16 5c 66 c9 |..\n\n\"|.3...\f.|
|00005700| 16 0d 5c 6e 89 16 0e 87 | c0 0e 0f 5c 6e 5c 22 83 |..\n....|...\n\".|
|00005710| 40 00 c9 89 16 10 87 c0 | 0e 11 5c 6e 5c 22 83 55 |@.......|..\n\".U|
|00005720| 00 d2 0e 13 21 88 cb 16 | 5c 66 5c 6e 89 16 0e 87 |....!...|\f\n....|
|00005730| 0e 10 83 5c 5c 00 c9 87 | cb 16 5c 66 5c 6e 89 16 |...\\...|..\f\n..|
|00005740| 0e 87 22 20 5b 73 74 72 | 69 6e 67 2d 6d 61 74 63 |.." [str|ing-matc|
|00005750| 68 20 61 6e 67 65 2d 66 | 74 70 2d 78 66 65 72 2d |h ange-f|tp-xfer-|
|00005760| 73 69 7a 65 2d 6d 73 67 | 73 20 6c 69 6e 65 20 61 |size-msg|s line a|
|00005770| 73 68 20 73 74 72 69 6e | 67 2d 74 6f 2d 69 6e 74 |sh strin|g-to-int|
|00005780| 20 31 20 2d 31 30 20 61 | 6e 67 65 2d 66 74 70 2d | 1 -10 a|nge-ftp-|
|00005790| 78 66 65 72 2d 73 69 7a | 65 20 61 6e 67 65 2d 66 |xfer-siz|e ange-f|
|000057a0| 74 70 2d 73 6b 69 70 2d | 6d 73 67 73 20 74 20 61 |tp-skip-|msgs t a|
|000057b0| 6e 67 65 2d 66 74 70 2d | 67 6f 6f 64 2d 6d 73 67 |nge-ftp-|good-msg|
|000057c0| 73 20 6e 69 6c 20 61 6e | 67 65 2d 66 74 70 2d 70 |s nil an|ge-ftp-p|
|000057d0| 72 6f 63 65 73 73 2d 62 | 75 73 79 20 61 6e 67 65 |rocess-b|usy ange|
|000057e0| 2d 66 74 70 2d 70 72 6f | 63 65 73 73 2d 72 65 73 |-ftp-pro|cess-res|
|000057f0| 75 6c 74 20 61 6e 67 65 | 2d 66 74 70 2d 70 72 6f |ult ange|-ftp-pro|
|00005800| 63 65 73 73 2d 72 65 73 | 75 6c 74 2d 6c 69 6e 65 |cess-res|ult-line|
|00005810| 20 61 6e 67 65 2d 66 74 | 70 2d 6d 75 6c 74 69 2d | ange-ft|p-multi-|
|00005820| 6d 73 67 73 20 61 6e 67 | 65 2d 66 74 70 2d 70 72 |msgs ang|e-ftp-pr|
|00005830| 6f 63 65 73 73 2d 6d 75 | 6c 74 69 2d 73 6b 69 70 |ocess-mu|lti-skip|
|00005840| 20 61 6e 67 65 2d 66 74 | 70 2d 66 61 74 61 6c 2d | ange-ft|p-fatal-|
|00005850| 6d 73 67 73 20 64 65 6c | 65 74 65 2d 70 72 6f 63 |msgs del|ete-proc|
|00005860| 65 73 73 20 70 72 6f 63 | 5d 20 35 20 28 23 24 20 |ess proc|] 5 (#$ |
|00005870| 2e 20 32 32 30 33 31 29 | 5d 29 0a 23 40 34 39 20 |. 22031)|]).#@49 |
|00005880| 53 65 74 20 74 68 65 20 | 73 69 7a 65 20 6f 66 20 |Set the |size of |
|00005890| 74 68 65 20 6e 65 78 74 | 20 46 54 50 20 74 72 61 |the next| FTP tra|
|000058a0| 6e 73 66 65 72 20 69 6e | 20 62 79 74 65 73 2e 1f |nsfer in| bytes..|
|000058b0| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 61 6e 67 65 |.(defali|as 'ange|
|000058c0| 2d 66 74 70 2d 73 65 74 | 2d 78 66 65 72 2d 73 69 |-ftp-set|-xfer-si|
|000058d0| 7a 65 20 23 5b 28 68 6f | 73 74 20 75 73 65 72 20 |ze #[(ho|st user |
|000058e0| 62 79 74 65 73 29 20 22 | c0 09 5c 6e 5c 22 89 1b |bytes) "|..\n\"..|
|000058f0| 85 1f 00 c4 0b 21 89 1d | 85 1e 00 8a 0d 71 88 c6 |.....!..|.....q..|
|00005900| 0e 07 c8 5c 22 89 16 09 | 29 29 29 87 22 20 5b 61 |...\"...|)))." [a|
|00005910| 6e 67 65 2d 66 74 70 2d | 67 65 74 2d 70 72 6f 63 |nge-ftp-|get-proc|
|00005920| 65 73 73 20 68 6f 73 74 | 20 75 73 65 72 20 70 72 |ess host| user pr|
|00005930| 6f 63 20 70 72 6f 63 65 | 73 73 2d 62 75 66 66 65 |oc proce|ss-buffe|
|00005940| 72 20 62 75 66 20 61 73 | 68 20 62 79 74 65 73 20 |r buf as|h bytes |
|00005950| 2d 31 30 20 61 6e 67 65 | 2d 66 74 70 2d 78 66 65 |-10 ange|-ftp-xfe|
|00005960| 72 2d 73 69 7a 65 5d 20 | 34 20 28 23 24 20 2e 20 |r-size] |4 (#$ . |
|00005970| 32 32 36 35 36 29 5d 29 | 0a 23 40 35 37 20 52 65 |22656)])|.#@57 Re|
|00005980| 6d 6f 76 65 20 68 61 73 | 68 20 6d 61 72 6b 73 20 |move has|h marks |
|00005990| 66 72 6f 6d 20 53 54 52 | 49 4e 47 20 61 6e 64 20 |from STR|ING and |
|000059a0| 64 69 73 70 6c 61 79 20 | 63 6f 75 6e 74 20 73 6f |display |count so|
|000059b0| 20 66 61 72 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 | far...(|defalias|
|000059c0| 20 27 61 6e 67 65 2d 66 | 74 70 2d 70 72 6f 63 65 | 'ange-f|tp-proce|
|000059d0| 73 73 2d 68 61 6e 64 6c | 65 2d 68 61 73 68 20 23 |ss-handl|e-hash #|
|000059e0| 5b 28 73 74 72 29 20 22 | 08 c1 89 94 4f 08 c1 95 |[(str) "|....O...|
|000059f0| c2 4f 50 10 c1 95 c1 94 | 5a 0b 5c 5c 13 5c 66 83 |.OP.....|Z.\\.\f.|
|00005a00| 6a 00 0d 83 6a 00 0e 06 | 83 6a 00 c7 20 c8 20 3d |j...j...|.j.. . =|
|00005a10| 84 6a 00 c9 ca 21 84 6a | 00 0e 0b 84 6a 00 cc 5c |.j...!.j|....j..\|
|00005a20| 66 0b 5f cd 5c 22 1e 0e | 0e 0f c1 55 83 4d 00 d0 |f._.\"..|...U.M..|
|00005a30| d1 0d 0e 0e 23 88 82 69 | 00 0e 0e d2 5f 0e 0f a5 |....#..i|...._...|
|00005a40| 89 1e 13 0e 14 3d 84 68 | 00 0e 13 16 14 d0 d5 0d |.....=.h|........|
|00005a50| 0e 13 23 88 29 29 08 87 | 22 20 5b 73 74 72 20 30 |..#.))..|" [str 0|
|00005a60| 20 6e 69 6c 20 61 6e 67 | 65 2d 66 74 70 2d 68 61 | nil ang|e-ftp-ha|
|00005a70| 73 68 2d 6d 61 72 6b 2d | 63 6f 75 6e 74 20 61 6e |sh-mark-|count an|
|00005a80| 67 65 2d 66 74 70 2d 68 | 61 73 68 2d 6d 61 72 6b |ge-ftp-h|ash-mark|
|00005a90| 2d 75 6e 69 74 20 61 6e | 67 65 2d 66 74 70 2d 70 |-unit an|ge-ftp-p|
|00005aa0| 72 6f 63 65 73 73 2d 6d | 73 67 20 61 6e 67 65 2d |rocess-m|sg ange-|
|00005ab0| 66 74 70 2d 70 72 6f 63 | 65 73 73 2d 76 65 72 62 |ftp-proc|ess-verb|
|00005ac0| 6f 73 65 20 73 65 6c 65 | 63 74 65 64 2d 77 69 6e |ose sele|cted-win|
|00005ad0| 64 6f 77 20 6d 69 6e 69 | 62 75 66 66 65 72 2d 77 |dow mini|buffer-w|
|00005ae0| 69 6e 64 6f 77 20 62 6f | 75 6e 64 70 20 73 65 61 |indow bo|undp sea|
|00005af0| 72 63 68 2d 6d 65 73 73 | 61 67 65 20 63 75 72 73 |rch-mess|age curs|
|00005b00| 6f 72 2d 69 6e 2d 65 63 | 68 6f 2d 61 72 65 61 20 |or-in-ec|ho-area |
|00005b10| 61 73 68 20 2d 36 20 6b | 62 79 74 65 73 20 61 6e |ash -6 k|bytes an|
|00005b20| 67 65 2d 66 74 70 2d 78 | 66 65 72 2d 73 69 7a 65 |ge-ftp-x|fer-size|
|00005b30| 20 61 6e 67 65 2d 66 74 | 70 2d 6d 65 73 73 61 67 | ange-ft|p-messag|
|00005b40| 65 20 22 25 73 2e 2e 2e | 25 64 6b 22 20 31 30 30 |e "%s...|%dk" 100|
|00005b50| 20 70 65 72 63 65 6e 74 | 20 61 6e 67 65 2d 66 74 | percent| ange-ft|
|00005b60| 70 2d 6c 61 73 74 2d 70 | 65 72 63 65 6e 74 20 22 |p-last-p|ercent "|
|00005b70| 25 73 2e 2e 2e 25 64 25 | 25 22 5d 20 35 20 28 23 |%s...%d%|%"] 5 (#|
|00005b80| 24 20 2e 20 32 32 39 31 | 30 29 5d 29 0a 28 64 65 |$ . 2291|0)]).(de|
|00005b90| 66 61 6c 69 61 73 20 27 | 61 6e 67 65 2d 66 74 70 |falias '|ange-ftp|
|00005ba0| 2d 63 61 6c 6c 2d 63 6f | 6e 74 20 23 5b 28 63 6f |-call-co|nt #[(co|
|00005bb0| 6e 74 20 72 65 73 75 6c | 74 20 6c 69 6e 65 29 20 |nt resul|t line) |
|00005bc0| 22 08 85 1d 00 08 3c 83 | 19 00 08 40 c1 3d 84 19 |".....<.|...@.=..|
|00005bd0| 00 c2 08 40 0b 5c 66 08 | 41 24 87 08 0b 5c 66 5c |...@.\f.|A$...\f\|
|00005be0| 22 87 22 20 5b 63 6f 6e | 74 20 6c 61 6d 62 64 61 |"." [con|t lambda|
|00005bf0| 20 61 70 70 6c 79 20 72 | 65 73 75 6c 74 20 6c 69 | apply r|esult li|
|00005c00| 6e 65 5d 20 35 5d 29 0a | 28 64 65 66 61 6c 69 61 |ne] 5]).|(defalia|
|00005c10| 73 20 27 61 6e 67 65 2d | 66 74 70 2d 70 72 6f 63 |s 'ange-|ftp-proc|
|00005c20| 65 73 73 2d 66 69 6c 74 | 65 72 20 23 5b 28 70 72 |ess-filt|er #[(pr|
|00005c30| 6f 63 20 73 74 72 29 20 | 22 c0 09 21 70 1a 1b c4 |oc str) |"..!p...|
|00005c40| 0b 21 85 c1 00 c5 8e c0 | 09 21 71 88 0e 06 83 26 |.!......|.!q....&|
|00005c50| 00 c7 c8 0e 09 5c 22 83 | 26 00 ca 0e 09 21 16 09 |.....\".|&....!..|
|00005c60| cb 09 0e 09 5c 22 88 0e | 5c 66 cd 09 21 7b 16 09 |....\"..|\f..!{..|
|00005c70| 0e 06 83 4d 00 0e 0e 0e | 09 50 16 0e c7 cf 0e 0e |...M....|.P......|
|00005c80| 5c 22 83 4d 00 d0 09 d1 | 5c 22 88 0e 06 83 87 00 |\".M....|\"......|
|00005c90| c7 d1 0e 0e 5c 22 83 87 | 00 0e 0e d2 89 94 4f 1e |....\"..|......O.|
|00005ca0| 13 0e 0e d2 95 d4 4f 16 | 0e c7 d5 0e 13 5c 22 83 |......O.|.....\".|
|00005cb0| 7d 00 0e 13 d2 95 d4 4f | 16 13 82 6a 00 d6 0e 13 |}......O|...j....|
|00005cc0| 09 5c 22 88 29 82 4d 00 | 0e 06 3f 85 c0 00 d2 16 |.\".).M.|..?.....|
|00005cd0| 17 0e 18 83 ab 00 0e 19 | 83 ab 00 0e 1a 83 ab 00 |........|........|
|00005ce0| db dc 0e 18 5c 22 88 dd | 20 88 d4 16 18 0e 1e 85 |....\"..| .......|
|00005cf0| c0 00 0e 1e 1e 1f d4 16 | 1e e0 0e 1f 0e 1a 0e 21 |........|.......!|
|00005d00| 23 29 29 2a 87 22 20 5b | 70 72 6f 63 65 73 73 2d |#))*." [|process-|
|00005d10| 62 75 66 66 65 72 20 70 | 72 6f 63 20 6f 6c 64 2d |buffer p|roc old-|
|00005d20| 62 75 66 66 65 72 20 62 | 75 66 66 65 72 20 62 75 |buffer b|uffer bu|
|00005d30| 66 66 65 72 2d 6e 61 6d | 65 20 28 28 73 65 74 2d |ffer-nam|e ((set-|
|00005d40| 62 75 66 66 65 72 20 6f | 6c 64 2d 62 75 66 66 65 |buffer o|ld-buffe|
|00005d50| 72 29 29 20 61 6e 67 65 | 2d 66 74 70 2d 70 72 6f |r)) ange|-ftp-pro|
|00005d60| 63 65 73 73 2d 62 75 73 | 79 20 73 74 72 69 6e 67 |cess-bus|y string|
|00005d70| 2d 6d 61 74 63 68 20 22 | 5e 23 2b 24 22 20 73 74 |-match "|^#+$" st|
|00005d80| 72 20 61 6e 67 65 2d 66 | 74 70 2d 70 72 6f 63 65 |r ange-f|tp-proce|
|00005d90| 73 73 2d 68 61 6e 64 6c | 65 2d 68 61 73 68 20 63 |ss-handl|e-hash c|
|00005da0| 6f 6d 69 6e 74 2d 6f 75 | 74 70 75 74 2d 66 69 6c |omint-ou|tput-fil|
|00005db0| 74 65 72 20 63 6f 6d 69 | 6e 74 2d 6c 61 73 74 2d |ter comi|nt-last-|
|00005dc0| 6f 75 74 70 75 74 2d 73 | 74 61 72 74 20 70 72 6f |output-s|tart pro|
|00005dd0| 63 65 73 73 2d 6d 61 72 | 6b 20 61 6e 67 65 2d 66 |cess-mar|k ange-f|
|00005de0| 74 70 2d 70 72 6f 63 65 | 73 73 2d 73 74 72 69 6e |tp-proce|ss-strin|
|00005df0| 67 20 22 50 61 73 73 77 | 6f 72 64 3a 20 2a 24 22 |g "Passw|ord: *$"|
|00005e00| 20 73 65 6e 64 2d 73 74 | 72 69 6e 67 20 22 5c 6e | send-st|ring "\n|
|00005e10| 22 20 30 20 6c 69 6e 65 | 20 6e 69 6c 20 22 5e 66 |" 0 line| nil "^f|
|00005e20| 74 70 3e 20 2a 22 20 61 | 6e 67 65 2d 66 74 70 2d |tp> *" a|nge-ftp-|
|00005e30| 70 72 6f 63 65 73 73 2d | 68 61 6e 64 6c 65 2d 6c |process-|handle-l|
|00005e40| 69 6e 65 20 61 6e 67 65 | 2d 66 74 70 2d 78 66 65 |ine ange|-ftp-xfe|
|00005e50| 72 2d 73 69 7a 65 20 61 | 6e 67 65 2d 66 74 70 2d |r-size a|nge-ftp-|
|00005e60| 70 72 6f 63 65 73 73 2d | 6d 73 67 20 61 6e 67 65 |process-|msg ange|
|00005e70| 2d 66 74 70 2d 70 72 6f | 63 65 73 73 2d 76 65 72 |-ftp-pro|cess-ver|
|00005e80| 62 6f 73 65 20 61 6e 67 | 65 2d 66 74 70 2d 70 72 |bose ang|e-ftp-pr|
|00005e90| 6f 63 65 73 73 2d 72 65 | 73 75 6c 74 20 61 6e 67 |ocess-re|sult ang|
|00005ea0| 65 2d 66 74 70 2d 6d 65 | 73 73 61 67 65 20 22 25 |e-ftp-me|ssage "%|
|00005eb0| 73 2e 2e 2e 64 6f 6e 65 | 22 20 61 6e 67 65 2d 66 |s...done|" ange-f|
|00005ec0| 74 70 2d 72 65 70 61 69 | 6e 74 2d 6d 69 6e 69 62 |tp-repai|nt-minib|
|00005ed0| 75 66 66 65 72 20 61 6e | 67 65 2d 66 74 70 2d 70 |uffer an|ge-ftp-p|
|00005ee0| 72 6f 63 65 73 73 2d 63 | 6f 6e 74 69 6e 75 65 20 |rocess-c|ontinue |
|00005ef0| 63 6f 6e 74 20 61 6e 67 | 65 2d 66 74 70 2d 63 61 |cont ang|e-ftp-ca|
|00005f00| 6c 6c 2d 63 6f 6e 74 20 | 61 6e 67 65 2d 66 74 70 |ll-cont |ange-ftp|
|00005f10| 2d 70 72 6f 63 65 73 73 | 2d 72 65 73 75 6c 74 2d |-process|-result-|
|00005f20| 6c 69 6e 65 5d 20 34 5d | 29 0a 23 40 36 35 20 57 |line] 4]|).#@65 W|
|00005f30| 68 65 6e 20 66 74 70 20 | 70 72 6f 63 65 73 73 20 |hen ftp |process |
|00005f40| 63 68 61 6e 67 65 73 20 | 73 74 61 74 65 2c 20 6e |changes |state, n|
|00005f50| 75 6b 65 20 61 6c 6c 20 | 66 69 6c 65 2d 65 6e 74 |uke all |file-ent|
|00005f60| 72 69 65 73 20 69 6e 20 | 63 61 63 68 65 2e 1f 0a |ries in |cache...|
|00005f70| 28 64 65 66 61 6c 69 61 | 73 20 27 61 6e 67 65 2d |(defalia|s 'ange-|
|00005f80| 66 74 70 2d 70 72 6f 63 | 65 73 73 2d 73 65 6e 74 |ftp-proc|ess-sent|
|00005f90| 69 6e 65 6c 20 23 5b 28 | 70 72 6f 63 20 73 74 72 |inel #[(|proc str|
|00005fa0| 29 20 22 c0 09 21 1a c3 | c4 5c 6e 5c 22 83 23 00 |) "..!..|.\n\".#.|
|00005fb0| 5c 6e c5 94 c5 95 4f 5c | 6e c6 94 c6 95 4f 1e 07 |\n....O\|n....O..|
|00005fc0| 1e 08 c9 0e 07 0e 08 5c | 22 88 2a 29 ca 89 16 0b |.......\|".*)....|
|00005fd0| 87 22 20 5b 70 72 6f 63 | 65 73 73 2d 6e 61 6d 65 |." [proc|ess-name|
|00005fe0| 20 70 72 6f 63 20 6e 61 | 6d 65 20 73 74 72 69 6e | proc na|me strin|
|00005ff0| 67 2d 6d 61 74 63 68 20 | 22 5c 5c 2a 66 74 70 20 |g-match |"\\*ftp |
|00006000| 5c 5c 28 5b 5e 40 5d 2b | 5c 5c 29 40 5c 5c 28 5b |\\([^@]+|\\)@\\([|
|00006010| 5e 2a 5d 2b 5c 5c 29 5c | 5c 2a 22 20 31 20 32 20 |^*]+\\)\|\*" 1 2 |
|00006020| 68 6f 73 74 20 75 73 65 | 72 20 61 6e 67 65 2d 66 |host use|r ange-f|
|00006030| 74 70 2d 77 69 70 65 2d | 66 69 6c 65 2d 65 6e 74 |tp-wipe-|file-ent|
|00006040| 72 69 65 73 20 6e 69 6c | 20 61 6e 67 65 2d 66 74 |ries nil| ange-ft|
|00006050| 70 2d 6c 73 2d 63 61 63 | 68 65 2d 66 69 6c 65 5d |p-ls-cac|he-file]|
|00006060| 20 34 20 28 23 24 20 2e | 20 32 34 33 36 37 29 5d | 4 (#$ .| 24367)]|
|00006070| 29 0a 23 40 37 31 20 52 | 65 74 75 72 6e 73 20 77 |).#@71 R|eturns w|
|00006080| 68 65 74 68 65 72 20 74 | 6f 20 61 63 63 65 73 73 |hether t|o access|
|00006090| 20 74 68 69 73 20 68 6f | 73 74 20 76 69 61 20 61 | this ho|st via a|
|000060a0| 20 6e 6f 72 6d 61 6c 20 | 28 6e 6f 6e 2d 73 6d 61 | normal |(non-sma|
|000060b0| 72 74 29 20 67 61 74 65 | 77 61 79 2e 1f 0a 28 64 |rt) gate|way...(d|
|000060c0| 65 66 61 6c 69 61 73 20 | 27 61 6e 67 65 2d 66 74 |efalias |'ange-ft|
|000060d0| 70 2d 75 73 65 2d 67 61 | 74 65 77 61 79 2d 70 20 |p-use-ga|teway-p |
|000060e0| 23 5b 28 68 6f 73 74 29 | 20 22 08 3f 85 11 00 c1 |#[(host)| ".?....|
|000060f0| 20 1a c3 8e c4 0d 0e 06 | 5c 22 2a 3f 87 22 20 5b | .......|\"*?." [|
|00006100| 61 6e 67 65 2d 66 74 70 | 2d 73 6d 61 72 74 2d 67 |ange-ftp|-smart-g|
|00006110| 61 74 65 77 61 79 20 6d | 61 74 63 68 2d 64 61 74 |ateway m|atch-dat|
|00006120| 61 20 6d 61 74 63 68 2d | 64 61 74 61 20 28 28 73 |a match-|data ((s|
|00006130| 74 6f 72 65 2d 6d 61 74 | 63 68 2d 64 61 74 61 20 |tore-mat|ch-data |
|00006140| 6d 61 74 63 68 2d 64 61 | 74 61 29 29 20 73 74 72 |match-da|ta)) str|
|00006150| 69 6e 67 2d 6d 61 74 63 | 68 20 61 6e 67 65 2d 66 |ing-matc|h ange-f|
|00006160| 74 70 2d 6c 6f 63 61 6c | 2d 68 6f 73 74 2d 72 65 |tp-local|-host-re|
|00006170| 67 65 78 70 20 68 6f 73 | 74 5d 20 33 20 28 23 24 |gexp hos|t] 3 (#$|
|00006180| 20 2e 20 32 34 36 39 35 | 29 5d 29 0a 23 40 35 38 | . 24695|)]).#@58|
|00006190| 20 52 65 74 75 72 6e 73 | 20 77 68 65 74 68 65 72 | Returns| whether|
|000061a0| 20 74 6f 20 61 63 63 65 | 73 73 20 74 68 69 73 20 | to acce|ss this |
|000061b0| 68 6f 73 74 20 76 69 61 | 20 61 20 73 6d 61 72 74 |host via| a smart|
|000061c0| 20 67 61 74 65 77 61 79 | 2e 1f 0a 28 64 65 66 61 | gateway|...(defa|
|000061d0| 6c 69 61 73 20 27 61 6e | 67 65 2d 66 74 70 2d 75 |lias 'an|ge-ftp-u|
|000061e0| 73 65 2d 73 6d 61 72 74 | 2d 67 61 74 65 77 61 79 |se-smart|-gateway|
|000061f0| 2d 70 20 23 5b 28 68 6f | 73 74 29 20 22 08 85 10 |-p #[(ho|st) "...|
|00006200| 00 c1 20 1a c3 8e c4 0d | 0e 06 5c 22 2a 3f 87 22 |.. .....|..\"*?."|
|00006210| 20 5b 61 6e 67 65 2d 66 | 74 70 2d 73 6d 61 72 74 | [ange-f|tp-smart|
|00006220| 2d 67 61 74 65 77 61 79 | 20 6d 61 74 63 68 2d 64 |-gateway| match-d|
|00006230| 61 74 61 20 6d 61 74 63 | 68 2d 64 61 74 61 20 28 |ata matc|h-data (|
|00006240| 28 73 74 6f 72 65 2d 6d | 61 74 63 68 2d 64 61 74 |(store-m|atch-dat|
|00006250| 61 20 6d 61 74 63 68 2d | 64 61 74 61 29 29 20 73 |a match-|data)) s|
|00006260| 74 72 69 6e 67 2d 6d 61 | 74 63 68 20 61 6e 67 65 |tring-ma|tch ange|
|00006270| 2d 66 74 70 2d 6c 6f 63 | 61 6c 2d 68 6f 73 74 2d |-ftp-loc|al-host-|
|00006280| 72 65 67 65 78 70 20 68 | 6f 73 74 5d 20 33 20 28 |regexp h|ost] 3 (|
|00006290| 23 24 20 2e 20 32 34 39 | 37 37 29 5d 29 0a 28 62 |#$ . 249|77)]).(b|
|000062a0| 79 74 65 2d 63 6f 64 65 | 20 22 c0 c1 21 84 08 00 |yte-code| "..!...|
|000062b0| c2 11 c1 0b 42 13 c0 c4 | 21 84 16 00 c5 c6 21 14 |....B...|!.....!.|
|000062c0| c4 0b 42 13 c0 c7 21 84 | 23 00 c2 16 07 c7 0b 42 |..B...!.|#......B|
|000062d0| 13 c2 87 22 20 5b 62 6f | 75 6e 64 70 20 61 6e 67 |..." [bo|undp ang|
|000062e0| 65 2d 66 74 70 2d 74 6d | 70 2d 6e 61 6d 65 2d 66 |e-ftp-tm|p-name-f|
|000062f0| 69 6c 65 73 20 6e 69 6c | 20 63 75 72 72 65 6e 74 |iles nil| current|
|00006300| 2d 6c 6f 61 64 2d 6c 69 | 73 74 20 61 6e 67 65 2d |-load-li|st ange-|
|00006310| 66 74 70 2d 74 6d 70 2d | 6e 61 6d 65 2d 68 61 73 |ftp-tmp-|name-has|
|00006320| 68 74 61 62 6c 65 20 61 | 6e 67 65 2d 66 74 70 2d |htable a|nge-ftp-|
|00006330| 6d 61 6b 65 2d 68 61 73 | 68 74 61 62 6c 65 20 31 |make-has|htable 1|
|00006340| 30 20 61 6e 67 65 2d 66 | 74 70 2d 70 69 64 5d 20 |0 ange-f|tp-pid] |
|00006350| 32 29 0a 23 40 35 35 20 | 48 61 6c 66 2d 68 65 61 |2).#@55 |Half-hea|
|00006360| 72 74 65 64 20 61 74 74 | 65 6d 70 74 20 74 6f 20 |rted att|empt to |
|00006370| 67 65 74 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |get the |current |
|00006380| 70 72 6f 63 65 73 73 27 | 73 20 69 64 2e 1f 0a 28 |process'|s id...(|
|00006390| 64 65 66 61 6c 69 61 73 | 20 27 61 6e 67 65 2d 66 |defalias| 'ange-f|
|000063a0| 74 70 2d 67 65 74 2d 70 | 69 64 20 23 5b 6e 69 6c |tp-get-p|id #[nil|
|000063b0| 20 22 c0 c1 21 c2 c3 4f | 89 14 87 22 20 5b 6d 61 | "..!..O|..." [ma|
|000063c0| 6b 65 2d 74 65 6d 70 2d | 6e 61 6d 65 20 22 22 20 |ke-temp-|name "" |
|000063d0| 31 20 6e 69 6c 20 61 6e | 67 65 2d 66 74 70 2d 70 |1 nil an|ge-ftp-p|
|000063e0| 69 64 5d 20 33 20 28 23 | 24 20 2e 20 32 35 34 33 |id] 3 (#|$ . 2543|
|000063f0| 32 29 5d 29 0a 23 40 35 | 30 20 54 68 69 73 20 72 |2)]).#@5|0 This r|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.